This JavaScript lets you click on thumbnails to display full-size images on the same page. If the browser can manipulate document images, then it simply in-lines the large image. If it can't, or if it doesn't recognise JavaScript at all, it will simply display the image by itself, in a new page.
Just enter the names of the files you want included in the gallery into the fileNames array, and the script/template creates the entire gallery for you. The gallery includes "Previous", "Next" and "Go To" buttons, as well as a "Back" button relocating to a location specified by you. Unlike many other galleries, this one requires only a single HTML file for the entire gallery (i.e. not one file per picture).
This is an image viewer script with a dynamic HTML menu to allow for easy navigation of a large collection of images. The images are grouped into categories of your choice and the navigator menu can display or hide the links to different categories. The script is completely self-contained in a single html file, so all you need to do is type in the file/image names and all images can be displayed in the current web page.