You'll have to append a "imgmax=d" parameter to your photo query request. Then the media content URL will be pointing at the original image file, which you can then download. The parameters to specify desired image/content and thumbnail sizes are documented here: http://code.google.com/apis/picasaweb/docs/2.0/reference.html#Parameters See in particular the paragraph under the table.
On Sat, Jan 29, 2011 at 1:55 PM, NH <nir.ha...@gmail.com> wrote: > Dear Picasa coders, > > I need to download a full res photo programatically. > I have placed a few ~2000X3000 / 2Mb JPGs in a test Picasaweb album. > When I try to download them, they shrink down to 300K with a maximum > 1600 pixel on the bigger size. > How can I get a full res one using the API with C#? > What am I missing? > My snippet below. > Thanks for your help. > NH. > > public void ListPhotosInAlbum() > { > PicasaService service = new PicasaService("exampleCo- > exampleApp-1"); > service.setUserCredentials(Session["Username"].ToString(), > Session["Password"].ToString()); > PhotoQuery query = new > PhotoQuery(PicasaQuery.CreatePicasaUri(Session["Username"].ToString(), > Request["Id"])); > PicasaFeed feed = service.Query(query); > foreach (PicasaEntry entry in feed.Entries) > { > Label lblTitle = new Label(); > lblTitle.Text = entry.Title.Text; > phPhotos.Controls.Add(lblTitle); > System.Web.UI.WebControls.Image i = new > System.Web.UI.WebControls.Image(); > i.ImageUrl = entry.Media.Thumbnails[1].Url; > i.ImageUrl = entry.Media.Content.Url.ToString(); > phPhotos.Controls.Add(i); // a placeholder in my aspx page > } > > } > > -- > 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. > > -- 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.