Rob,
Users of my Wordpress plugin PWA+PHP reported this to me today -- it
looks like the XML returned by the gdata API call has changed.
Whereas before there was only one MEDIA:THUMBNAIL element, now there
are two. For some reason, the first "thumbnail" in the XML is a link
to the full-size image and the second one is the "real" thumbnail.
Here's some sample output from the new XML, where you can see two
MEDIA:THUMBNAILS, the first of which was not there two days back:
[69] => Array
(
[tag] => MEDIA:THUMBNAIL
[type] => complete
[level] => 4
[attributes] => Array
(
[URL] =>
http://lh3.ggpht.com/-FmLdJ3icsj8/TWrtmHIsplI/AAAAAAAAChA/rkj2L9RRqlI/d/Picture%2525202.jpg
[HEIGHT] => 394
[WIDTH] => 713
)
)
[70] => Array
(
[tag] => MEDIA:THUMBNAIL
[type] => complete
[level] => 4
[attributes] => Array
(
[URL] =>
http://lh3.ggpht.com/-FmLdJ3icsj8/TWrtmHIsplI/AAAAAAAAChA/rkj2L9RRqlI/s144-c/Picture%2525202.jpg
[HEIGHT] => 144
[WIDTH] => 144
)
)
The fix for me was to add some logic that checked the dimensions of
the thumbnail before outputting it to the browser, so that only the
one I want to see (the small one) is shown.
Hope this helps.
Scott
On May 26, 2:14 am, Rob <[email protected]> wrote:
> I am having the same problem. I am using Javascript to retrieve all my
> Picasa photos and the thumbnail size is the original size of the
> image. Can u fix this please, or give me an ETA when you think this
> bug will be fixed?
>
> Thanks.
--
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.