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