There is also a crop setting you can use, although this is just a center-crop not the smart crop that I believe is used on the Google+ layouts.
There isn't really a good way to go about specifying options to duplicate that layout. Some of it it server-side resizing and some of it is client-side rendering. On Aug 20, 2012 8:38 AM, "James Callahan" < [email protected]> wrote: > You could just drag the thumbnail to your desktop and then check the size > of it. They do have a cropping feature I believe its called imgmax you put > it at the end of the url feed, not on the image url. You could with > javascript and or possible php crop the image to a size you'd like that > matches picasa. The tag to get the thumbnail is media:thumbnail and they > come in 3 predefined sizes in picasa. Can't remember off hand the sizes but > I remember when setting it up there was an array... so for example... > $thumbnail = xpath('media:thumbnail') > echo '<img src="' . $thumbnail[0] . '">"'; > > if you change the 0 to a 1 it will give the next larger size.. The largest > is 2. > > On Sunday, August 19, 2012 6:45:30 AM UTC-4, Henry Chan wrote: >> >> Inside Google+ Photos Albums, e.g. https://plus.google.com/** >> photos/110895592304774883933/**albums/5776388979571167905<https://plus.google.com/photos/110895592304774883933/albums/5776388979571167905>, >> the photos are organised in a very pretty tiles layout. >> >> Is there any method I can retrieve the sizing of this default style >> through the feeds, so I can replicate a similar layout on my website? >> >> I particularly like how the images are auto-cropped and focused to the >> people, if the api cannot expose this, are there any libraries I can >> implement in PHP to find the correct focus of the photo, and render a >> similar style as that found in G+? >> >> -- > You received this message because you are subscribed to the Google Groups > "Google Picasa Web Albums API" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-picasa-data-api/-/-s87oICsQ1gJ. > 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. > -- 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.
