Skip to content

Instantly share code, notes, and snippets.

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