Previous / Next Photo links behaving erratically
I'm experiencing some erratic behavior. Before posting here I made sure to re-upload the original files showphoto.php and showphoto.tmpl just to make sure but the problem was still there.
I have a gallery with a bunch of photos named ft001, ft002 ft003 etc (see attached). If I view the first photo and click next, it jumps to ft007. When viewing ft007, the next link is gone as if its the last photo in the gallery I can only click previous. Its like the next button is on shuffle.
Do you have any idea what would be causing this behavior? In the first photo I have moused over the next link so you can see the alt text and the link in the bottom pane of the browser.