| Usage
Guide
Each package consists
of a few flash movies (swf file), 1 config file (pnp_cfg.txt),
1 image list file (imglist.txt), 1 php script (getimglist.php),
1 sample html page (pnpimage_xxx.html) and a folder
of sample images (images\).
To run a quick
test:
Unzip the package on
your local machine or your server and open the html
file "pnpimage_xxx.html". You should be able
to see your image gallery working!
To Pupolate your
image gallery:
First upload all the
files in the package to your server (if you didn't do
so yet). Then upload your image (jpg) files to the "images"
sub folder.
If your server support
PHP 4, you have to change the config file (pnp_cfg.txt)
a bit. Look for the string "thumbs_list_fn=imglist.txt"
in the config file. Replace it with "thumbs_list_fn=getimglist.php"
(the "thumbs_list_fn" parameter tells the
gallery tool which file will hold the image list).
If you don't have PHP
4 support (or you plan to use the tool on a client machine;
or you plan to burn your gallery into a CD!), you have
to change the "imglist.txt" file manually.
Basically, you need to put the filename of each image
into that file. The file starts with the string "files="
and followed by a list of filenames separated by '|'.
The filenames need to be urlencoded (you may find our
url encoding
tool useful).
To customize
the background animation:
By default, a background
movie (snow) runs on top of the big image area. You
can switch it off by changing the config file.
Look for the parameter
"pnp_sub_movies=", it is followed by a list
of swf filenames separated by '|'. Remove the entry
"snow.swf". Remove the "snow" entry
on the "pnp_sub_movie_names=" parameter as
well.
(actually, if you come
up with any cool background movie, you can replace the
"snow" clip by modifying the corresponding
entries in the parameters)
|