ZenphotoCMS Forum
click image > move to next - 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: click image > move to next (/thread-5293.html)



click image > move to next - shiatostorm - 2009-06-08

Hi, didn't quite know what terms to search for but I'm trying to add a bit of simple bit of code that allows a visitor to click the image to advance to the next one...at the moment I have 'next' and 'prev' links beside the images but was wondering how to add this functionality to the page (image.php)
I think I saw a theme with a next/prev roll-over effect but can't remember exactly how to implement it




click image > move to next - acrylian - 2009-06-08

Just link the image with the getNextImageURL() (please see the doc for hte correct name).




click image > move to next - shiatostorm - 2009-06-13

ah that seems to ring a bell. ok, thanks will have a look and try and get it working!




click image > move to next - shiatostorm - 2009-06-15

hacked and done. yay me! now, to work on a left/right roll-over in the meantime to go forwards and backwards...!