Instead of calling getMediaThumbnails() you need to call getMediaContents()
and fetch the first (and only) content's URL.
However, this will return the 1600px sized version of your image. In order
to download the original size, you have to add
a special parameter to your album feed query to return to you the image URLs
pointing at the original images.

You do that by adding the query parameter "imgmax=d". In the same way you
can also query custom sizes for all the thumbnail URLs.

More details can be found here:
http://code.google.com/apis/picasaweb/docs/2.0/reference.html#Parameters

Look for "imgmax" and "thumbsize" in the table. And also read the paragraphs
underneath the table.


On Thu, Jan 20, 2011 at 6:47 PM, imizael <dungeonmistres...@gmail.com>wrote:

> Hi, I would like answers only regarding JAVA api.
> So I have a list of PhotoEntry from Albumfeed, after I've done the
> query and I extract data from them.
> But I can't find how to get the URL (and not the thumbnail).
> I want the URL to show the image to the original size.
> For example
> for (PhotoEntry photo : albumfeed.getPhotoEntries() ) {
> System.out.println(photo.getMediaThumbnails().get(2).getUrl());
> System.out.println(photo.getTitle().getPlainText());
> System.out.println(photo.getDescription().getPlainText());
> }
>
> so is there a function for url, because I can't find it
>
> thank you in advance!
>
> --
> 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
> google-picasa-data-api@googlegroups.com.
> To unsubscribe from this group, send email to
> google-picasa-data-api+unsubscr...@googlegroups.com<google-picasa-data-api%2bunsubscr...@googlegroups.com>
> .
> 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 google-picasa-data-api@googlegroups.com.
To unsubscribe from this group, send email to 
google-picasa-data-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-picasa-data-api?hl=en.

Reply via email to