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:

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Automatic playing of album


Go to End


864 Views

Avatar
MCK

Community Member, 18 Posts

26 April 2011 at 11:46am

Hi,

I have the ImageGallery module working fine, but I would like the default (first?) album content to start playing on a page automatically—as well as having thumbnails that can be clicked on to bring up an individual image and move through the other images as desired.

I have tried duplicating the GalleryLayout from ImageGalleryPage.php code but there seems to be initialization subtleties that I am missing: I just get the spinning GIF image if I use $GalleryLayout (or its clone) more than once on a page (the first instance works fine).

I could be going about it the wrong way of course... Any help appreciated.

Graeme McKinstry