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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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


997 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