Both programs expect a main directory on the server that contains (one or more) sub-directories with images (i.e. JPEG files). The name of the main direcotry becomes the name of the image gallery. The name of each sub-directory becomes the name of a corresponding thumbnail page in the gallery. Under each thumbnail the name of the image-file is displayed. When a thumbnail is clicked a large image (scaled to 800x600px) is displayed with title and three small links (previous, back to index, next).
The files in this archive need to be copied into the main directory (the gallery) on the server. The thumbnail pages of the subdirectories are computed on the fly when a user views the gallery. One extra empty directory (not visible to the viewers) with name "duimen" has to be created in the main directory. This directory will hold all computed thumbnail images, so thumbnails are only computed once. This directory "duimen" needs to be writable for all. Otherwise the PHP process can not store the thumbnails. The name "duimen" must be exactly as written here, otherwise PHP won't be able to find it and the gallery won't work.
A scaled thumbnail is also calculated for each video by downloading just a tiny portion of the movie. These thumbnails look exactly like the ones for the .jpg files and are mixed with the latter in alphabetical order. Because only small portions of the movies are downloaded (after which the downloading of the movies stops) this gallery program saves a lot of bandwidth when many movies are to be shown. (Most flash-movie-players, like FlowPlayer, continue downloading until the first movie is complete.) A very good program to convert just about any video format to .flv is ffmpeg
When you have no access to PHP you can use this program that you run (once) on your PC. It generates just one index file (index.html). This index file contains a javascript program that displays the galleries. The index file is created in the main directory (the one that contains the image sub-directories. It needs to be copied to the server in addition to the sub-directories with the image files.
The program also takes care of .flv video's. Thumbnails will be computed on-the-fly. There are two additional very small .swf files in this archive for displaying the video and the video-thumbs. They need to be copied to the server (along with the computed index.html) into the main gallery directory. Thus, three files need to be copied to the server in the main gallery directory: index.html and the two .swf files