Hello Philipp,

Sorry to hear about all the trouble you've been having getting the full-size 
image back from PicasaWeb.  I can confirm that code similar to that provided 
above does return the full-size image.  I used the brief code below (without 
exception handling, which you should add):

    URL feedUrl = new URL(
      "https://picasaweb.google.com/data/feed/api/user/default?kind=album";);
    PicasawebService myService = new 
PicasawebService("company-app-version");
    myService.setUserCredentials(username, secretpassword);

    UserFeed userFeed = myService.getFeed(feedUrl, UserFeed.class);

    for (AlbumEntry albumEntry : userFeed.getAlbumEntries()) {
      URL albumFeedUrl = new URL(
          "https://picasaweb.google.com/data/feed/api/user/default/albumid/"; 
+ albumEntry.getGphotoId() + "?imgmax=d");
      System.out.println("Album feed:" + albumFeedUrl.toString());
      AlbumFeed albumFeed = myService.getFeed(albumFeedUrl, 
AlbumFeed.class);
      for(PhotoEntry photoEntry : albumFeed.getPhotoEntries()) {
        System.out.println("Full-size url:" + 
photoEntry.getMediaContents().get(0).getUrl());
      }
    }

I suspect that you are having some other problem, and I would like to help 
you fix this problem.  Could you provide a larger piece of code we can 
review, or try running a smaller sample to see if that will work in your 
environment?

Thank you,
-Mike

-- 
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.

Reply via email to