ZenphotoCMS Forum
Cycle through images - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Cycle through images (/thread-12580.html)



Cycle through images - peepntom - 2016-09-09

i added next to the single images. the one after you click the thumbnail the larger one. anyhoo when a user clicks the large image they see the next image in the gallery. how can i make it cycle back to the first image in the gallery when they hit the last big image in the gallery?

thanx in advance
Dave




Cycle through images - acrylian - 2016-09-09

The "Big image" we call the "sized image" btw. You would have to modify the theme used and add something extra using partly the object model. Something like this assuming the theme does not do anything specific (you didn't name the theme used):

`

First image

`