2013-02-26 57 views
0

我正在使用下面顯示的C#代碼從使用Picasa API的相冊中檢索縮略圖。有人能告訴我如何通過更改代碼來檢索更大的縮略圖嗎?Picasa API - 請求特定大小的縮略圖

public void getimages (string albumid) 
{ 
    PicasaService service = new Google.GData.Photos.PicasaService("test"); 
    PhotoQuery query = new PhotoQuery(PicasaQuery.CreatePicasaUri(userName, albumid)); 
    PicasaFeed feed = service.Query(query); 

    foreach (PicasaEntry entry in feed.Entries) 
    { 

     string title = entry.Title.Text.Substring(0, entry.Title.Text.LastIndexOf(".")); 
     Albumimages.Add(new AlbumImages(title, entry.Media.Thumbnails[0].Url, entry.Media.Content.Url));  
    } 

} 

回答