public Album GetAlbum(string albumID) { var query = new PhotoQuery(PicasaQuery.CreatePicasaUri(PicasaConfiguration.Settings.Gallery.User, albumID)) { Thumbsize = PicasaConfiguration.Settings.Pictures.ThumbnailSize.ToString(), ExtraParameters = PicasaConfiguration.Settings.Pictures.MaximumImageSize.HasValue ? ("imgmax=" + PicasaConfiguration.Settings.Pictures.MaximumImageSize.Value.ToString()) : "" }; var feed = GetPicasaFeed(query); return(new Album { Summary = PicasaDataMapper.MapPicasaAlbum(feed, albumID), Pictures = from PicasaEntry pictureEntry in feed.Entries select PicasaDataMapper.MapPicasaImage(pictureEntry) }); }