Changing order of displayed images in Slimbox

Topics: General, Standard packages, XSLT
Mar 12, 2012 at 2:58 PM

Is there a way to change the order of displayed images in slimbox?  When I define a media folder, slimbox appears to display images sorted by lastest entries (newest uploaded images first).

It would be nice if there was a way to order them by filename.

Coordinator
Mar 14, 2012 at 4:52 PM

Hello,

Go to Functions -> Xslt functions -> locate Composite.Media.ImageGallery.Slimbox2 function -> edit -> on the Function Calls tab locate call Composite.Data.Types.IImageFile.GetIImageFileXml -> Order by -> Constant -> select value = FileName

Mar 14, 2012 at 5:29 PM

Thank you.  That worked as described.