Created
August 9, 2011 01:00
-
-
Save dauger/1133189 to your computer and use it in GitHub Desktop.
Suboptimal way of getting Sitefinity images for a particular album. (by querying through the image object)
This file contains hidden or 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.GetImages() | |
.Where(i => | |
i.Album.Title.Equals("Foo") | |
&& i.Status == ContentLifecycleStatus.Live) | |
.ToList(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment