XPhotoAlbum.pl v1.01 - XML Photo Album Script
This simple script can be used for organizing web photo album. The script can be used for online or Off-Line photo album generation. It does not provides web interface for picture uploading, thumbnail generation or web authoring of the album. Those tasks you will have to do using standard image processing tools and ftp. However it generates rather nice browsable photo album.
Those are XPhotoAlbum features:
Support threee different alum viewing modes:
Three pane DHTML (client side) browsing.
Thumbnail based album.
Plain text outline for outdated browsers.
Generate album dynamically from index XML file
Support dynamic clients side album
For the 1st two modes are supported only with Internet Explorer.
Plain text album is supported on all browsers.
Support international (Unicode based) text within album.
Put the script in your cgi-bin directory.
Edit the script to set script parameters to your configuration
$UrlBase
= '/cgi-bin/XPhotoAlbum.pl'; # path to the album
script from web server root.
Refer to the script as: http://www.youserver.here/cgi-bin/XPhotoAlbum.pl?index=/album/index.xml&type=type to be translated.
Please see the examples below to understand the format of the files. However one nuance must be noticed regarding the thumbnail image files. Thumbnails shiuld be placed in the directory thumb/ under image path. Thumbnail image names are derrived from regular images names appending _thumb before file extension. For example for file ~john/Image.JPG thumbnils is sought under ~john/thumb/Image_thumb.JPG.
Send your feedback...
Send your feedback...
Please see http://www.neystadt.org/ for three instances of the albums using this technology. Particulary examples of the XML index files are located at:
http://www.neystadt.org/gal/birth/index.xml http://www.neystadt.org/john/album/index.xml http://www.neystadt.org/leonid/album.xml
This script requires the URI::Escape
, XML::DOM
modules available from CPAN (http://www.cpan.org)
All UNIXes, Windows NT
Web
This simple script can be used for organizing web photo album. The script can be used for online or Off-Line photo album generation. It does not provides web interface for picture uploading, thumbnail generation or web authoring of the album. Those tasks you will have to do using standard image processing tools and ftp. However it generates rather nice browsable photo album.