Problem with getNextImageURL

Hy, i customized the workflow of the image.php.

so if you click on a image it goes directly to the next one, i wrote:

`



<?php } if (hasNextImage()) { ?>

"><?php printDefaultSizedImage(getImageTitle()); ?><?php } ?>



`

So my problem is, that as soon as you come to the last image, it doesn´t show up (makes sense if you got this function on a button..)

how can i hack that?

1. to show the last image and if there is no image after just stop there, or remove the
link function

or better

2. start looping again from the first image of the album...

Is that possible?

Comments

Sign In or Register to comment.