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:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Jquery with cms inputs

Go to End



Community Member, 19 Posts

25 July 2012 at 8:27pm


Does anyone know if it is possible to use a jquery image gallery that takes images specified by the user through the cms. I have the gallery running fine in ss3. But it takes its inputs through <img src=""> so they are always fixed. Like so...

<div class="slider-wrapper theme-default">
<div id="slider2" class="nivoSlider">
<div class="imagemargin">
<img src="image-1.jpg" transition="slideInLeft" />
<img src="image-2.jpg" transition="slideInLeft" />
<img src="image-3.jpg" transition="slideInLeft" />

Is there anyway I can change the input method to be an array or failing that have a function within the page code that allows the user to have say 10 chosen fixed amount of images at any one time?