Skip to content

Instantly share code, notes, and snippets.

@dauger
Created August 9, 2011 01:00
Show Gist options
  • Save dauger/1133189 to your computer and use it in GitHub Desktop.
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)
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