Hi Kevin,
I find that error message misleading. If the image could not be
processed for any reason the error says "possibly too big". That's
normally the case with user uploads but it seems like from the API
it's more often something else. Looking back through the Google Group
it seems like GIF is predominantly the issue. If you create a similar
1x1 PNG does it do the same thing? We support GIF and it should work,
but knowing what works and what doesn't will help narrow it down.
Thanks;
— Matt Sanford / @mzsanford
On Jan 19, 2009, at 10:01 AM, DeBetta wrote:
I just tested the update_profile_image API call and sent a 190K image
without issue.
What kind of image are you trying to post? Do you have sample code you
can share?
--Peter
On Jan 19, 11:16 am, Kevin Thompson <[email protected]> wrote:
I'm attempting to write a simple script to update the user's profile
image, but I am getting a response that the image is possible too big
each time. The file that I'm attempting to set as the user avatar is
no larger than 5k, and it fails.
I created a 1px by 1px white gif which weighed in at about 43 bytes
and it worked.
My suspicion is that for some reason the API is not correctly
calculating the file size of the image data, or it's checking for a
much smaller value than 700k.