Created
August 9, 2011 01:43
-
-
Save dauger/1133244 to your computer and use it in GitHub Desktop.
Getting Sitefinity images for a particular album. (by querying through the album object)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var libManager = LibrariesManager.GetManager(); | |
var imagesFromFoo = libManager.GetAlbums() | |
.Where(a => a.Title.Equals("Foo")) | |
.First() | |
.Images.Where(i => i.Status == ContentLifecycleStatus.Live) | |
.ToList(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment