Automatic web gallery developed with HTML, Javascript and PHP by Antonio Cordasco
This script is for free, the only thing i ask is that you don't delete the links inside the gallery.
A web space. The amount of space depends on the number and the size of the pictures you want to show
PHP language support. (MySql or any other database is not needed)
FEATURES:
consecutive visualization of the preview images
organization with image groups
fullsize images
support for AVI videos
captions associated to the previews
multilanguage support (English, Italian, Dutch, Estonian, Polish)
automatic preview files generation
generation of direct url's to the pictures
DESCRIPTION:
This is a light nice and easy to use Automatic Web Gallery. You can display a lot of images of every dimension.
INSTALLATION:
To install the gallery on your website you have to make a directory on your web space that will contain it (this directory will be the main directory).
You must place in this directory the 3 files: gallery_structure.php, fullsize_pic.php, gallery_functions.js and the structure.images directory with its content.
Then you have to create inside the main directory a subdirectory for every group of pictures that you want in your gallery.
The names of these subdirectories must be like: xx-name of the group.
xx is a number between 00 and 99. This number specifies the order of the groups and it will not be displayed in the gallery page.
Every group folder must have 2 subdirectories called: full, redu.
In the redu folder you will place the preview images. The better size for the preview images is 400x300 px.
In the full directory you will place the fullsize pictures or the videos and the txt files for the pictures captions.
DON'T PLACE THE SAME FILES IN THE REDU AND IN THE FULL FOLDERS. The files in the redu directory should be smaller than the fullsize files.
If you don't know how, or you don't want to waste a lot of time creating the preview files yourself, you can let the gallery generate them automatically.
In this case, create only the subdirectories "full" in the groups directories and set the permissions of the groups directories to 777 (writable).
The script will automatically create the "redu" subdirectories and place the small preview files inside, when you load the gallery page.
Additionally, you can place txt files in the full directories containing some text that you want to display togheter with some pictuers.
You have to place a file with the same name of the preview file but with txt extension in the full directory, the text in the file will be displayed.
Placing a picture only in the full folder has no sense because it will not be available.
Then you have to put a .php file in the main gallery directory that will be the index file. In this file you have to include inside the body
tags the gallery_structure.php file.
Also you have to define a javascript string variable called: language inside the tags,that will set the language of the gallery.
Actually the gallery has 4 languages: English, Dutch, Estonian, Polish and Italian ("ita"=italian, "eng"=english, "dut"=dutch, "est"=estonian, "pol"=polish) example:
That's all! If you did correctly all the steps your gallery should now work fine!
Every time that you want you can modify your gallery, you can add or delete groups, images, videos and txt captions.
If you have a little experience in JavaScript and HTML programming you can also easily change some properties of the gallery.
For example it's very easy to change the colors.
KNOWN LIMITATIONS:
The names of the files are case sensitive!!!
If you have a fullsize file with the same name of the preview file but with different letter case that fullsize image will not be available.
This also for the video files and the .txt files.
I counsel to give to all files low case names, also for the extensions.
The captions in the txt files should be short, because the space to display them is little.
The best size for the preview images is: 400x300 pixels. This because of the fixed dimension of the rectangle that will contain them.