I'm attempting to set up a few Photo Gallery pages based on different subjects. The galleries look fine and when you select a thumbnail, it opens up the image just fine. My problem though is the "Previous" and "Next" links under the photos don't necessarily take you to the next photo and to make matters worse, at some point it takes the visitor to an entirely different photo that's on another page.
How can I kill these links? Or better yet, how can I make them link ONLY to the photos that are represented only by the thumbnails on that page?