I'm not aware of a way to do this, though I've run into your exact problem before. I think I ended up using the cropped thumbnail for that reason.
Cheers, -Jeff On Wed, Mar 18, 2009 at 1:17 AM, cat7 <[email protected]> wrote: > > I am developing an application which uses the Picasa Java API to > return a list of images for display in a popup window of limited > height, and I need to have all images shown with the same height but > with variable width depending on their original aspect ratio. > > The problem I am having is that as far as I can see the imgmax > parameter restricts the maximum size of the image but cant be used to > restrict one dimension and allow the other to 'float' > > E,g with a value of 400, a landscape image's MediaContent would be > returned with the dimensions as 300h x 400w, but a portrait image > would be 400h x 300w, whereas what we'd like is for the landscape to > be 300h x 400w and the portrait to be 300h x 225w. > > We are obtaining the image list via the PicasawebService.getFeed() > method, and a typical feed url is > > http://picasaweb.google.com/data/feed/api/user/my.account/albumid/1234?thumbsize=48c&imgmax=400 > > So, is there simple way of getting all image details returned with a > specific height or will I have to force the browser to resize by > recalculating the displayed height and width and setting them in the > <img> tag. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Picasa Web Albums API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Picasa-Data-API?hl=en -~----------~----~----~----~------~----~------~--~---
