The simpler media website CMS
Forum search only. You might also want to search on the main site's user guide.
Forum RSS
Visit the troubleshooting guide.
Visit the paid support page.
Your support helps pay for this server, and helps development of zenphoto. Thank you!
Visit the donations page
Comments
If so, when you are at the last image, then you could use something like
`
<?php
if (hasPrevImage()) {
$image = $_zp_current_image->getPrevImage();
} else {
$i = $_zp_current_album->getNumImages();
$image = $_zp_current_album->getImage($i-1);
}
echo 'getTitle()) . '">« '.gettext('prev').'';
?>
<?php
if (hasNextImage()) {
$image = $_zp_current_image->getNextImage();
} else {
$image = $_zp_current_album->getImage(0);
}
echo 'getTitle()) . '">'.gettext('next').' »';
?>
`
NOTE: this is not tested code. As always, check function useage with the functions guide.