Need a "Back to Gallery" link in the image browser
-
Hi,
I tried searching before posting this, but am still looking. I built a site for a client about 3 years ago before the big switch to the newer version. She prefers the image browser function.
I created a custom template that will show the arrows at the top of the image instead of below and even added a “back to gallery” button under the image counter. The code that used to work for that button, no longer works and I was just wondering…
How do I build the link that calls to the current gallery being viewed so that I can have a “back to gallery” button in the image browser?Here’s the code that used to work with the old version of ngg
<a title="Return to Thumbnail Gallery" href="<?php echo "?nggpage=". ceil($image->number/12) ?>"> Back to Gallery</a>
- The topic ‘Need a "Back to Gallery" link in the image browser’ is closed to new replies.