Hi All, Can someone please share a C# snippet that will get me the original full resolution photos? The 1600 pixel photos it gives me are good but not good enough... Here is my code:
public void ListPhotosInAlbum() { PicasaService service = new PicasaService("exampleCo- exampleApp-1"); service.setUserCredentials(Session["Username"].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.Content.Url.ToString(); phPhotos.Controls.Add(i); // a placeholder in my aspx page System.IO.Stream st = null; string szUrl = entry.Content.Src.ToString(); st = service.Query(new Uri(szUrl)); Bitmap b = new Bitmap(st); b.Save(@"c:\photo1.jpg", System.Drawing.Imaging.ImageFormat.Jpeg); } } Thx, NH. -- 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.