Archive

Archive for the ‘Google Picasa Web’ Category

Google Picasa Web API – some photos will not load in IE and Safari

May 12th, 2009

This baffled me for a few days.  I wrote a Flex app to try out Google’s Picasa Web API and it worked great in Firefox on a Mac.  But some of the images would not load in Safari (Mac or PC) and IE 7.  I eventually stumbled on a query string param that fixed it.

Apparently, some browsers limit the size of images to 800 pixels for the largest dimension.  If your images will not load in IE and Safari, try adding “imgmax=800″ on the query string when you request an image, like this:

http://photos.googleapis.com/data/feed/api/user/yourusername/album/youralbum?kind=photo&imgmax=800

Charles Newman Adobe Flash, Adobe Flex, Google Picasa Web