The Javascript Image Viewer is an experiment in Javascript and PHP. I basically wanted to learn some more of javascript, and what better way than to write an application. Also, I was having problems; since the the image viewing tools installed on my machine(EOG, konqueror, nautilus, etc....) weren't able to handle a large number(700) of images in one directory. So I thought of writing my own that worked in a browser rather than finding one online.
Some features:
Requirements:
How to Install?
Installation is very simple. Just unzip the files and place them in a folder in your web-server's root directory.
For example, it would be something like /var/www/htdocs/imageviewer/.
Then, just type: http://localhost/imageviewer/ and click the Browse button to select any file in the directory which contains all your images.
Since there is no way that I know of in which users can select a directory from a web form in HTML, I am using this method. The application will automatically search the entire directory for image files of the type png, jpeg and gif and display them all on pages.
Enjoy!
You may download the source files from here.