Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Imae_gallery - Using $Description outside of <% control %>

Go to End

2 Posts   748 Views


Community Member, 219 Posts

13 September 2010 at 9:54pm


im working with image_gallery for a portfolio page on my site, but what i would like is the album list on the left as just thumbnails, then when you select an album, the right column opens that gallery with the description, then the images.

the problem is i cant get $Description to work... it works if i add <% control Albums %> before it but then it obviously just lists all of my descriptions in a loop, how do i make it specific to the album we are currently in? is it somthing like $DescriptionURL? or $this?

or is it just not possible? :(

thanks in advance for your help.

to help explain what im after, here's the page...


Community Member, 219 Posts

13 September 2010 at 10:03pm

never mind!

for anybody else who needs it... <% control CurrentAlbum %>