Log in

View Full Version : Browse Next Image script?



bdmatrix
10-02-2007, 02:06 AM
Hello,
I have a folder full of jpg files, each numbered like this. "Image 001", "Image 002", etc.

I have put the first image (Image 001) within an iframe on a web page. What I am looking for is a script which will work like Opera/Firefox's "Browse Next/Previous Image" script.

When the user clicks the "Next" navigation link (provided by me), the next image in the directory will be fetched and opened in the iframe. Is that possible?

Thanks in advance.

djr33
10-02-2007, 02:28 AM
Check out some of the existing scripts here, such as the PHP generated image gallery.

You could set up a server side script to search the gallery and populate the script uniquely, but that may not be required.

bdmatrix
10-04-2007, 05:42 AM
Thanks...

Isn't there any easier option though? I am notreally in need of a fully featured gallery per say.
Like, if my files in a particular web folder are all named in a particular sequence, such as "01.jpg", "02.jpg", "03.jpg" etc, then could a clickable script just increment the opened image by one, and thus display the next image?