The photo show tool generates a continous presentation of gif or jpg
pictures from a particular directory. The kernel of the tool
is a Javascript mechanism which navigates automatically from one HTML page to the other.
The function make-photo-show generates a set of trivial HTML pages (two per picture).
The function photos-in-current-directory generates a list photo entries of the
jpg and gif file in the current directory. As an alternative you can
make this list manually. Photos-in-current-directory depends on the
non-standard Scheme function directory-list (which is supported by MzScheme).
Tool Usage: Define a simple LAML script in the directory which contains the photos.
See the examples for concrete information. By LAML processing the script
the necessary HTML files are defined in an html sub-directory (made by this tool).
The index.html file, generated in the current directory, is a natural starting point
of the photo show. The file index-visual.html is an alternative index.
Each execution of make-photo-show genererates a file first.lsp, which contains
the name of the first photo in the collection (a string with no extension).
The function first-url-in-directory (which generates a continutation url for
another collection) uses the first.lsp file of the other directory. Thus, this must
be taken into consideration when a more complex collection of photos are organized.
The procedure make-photo-show also generates index-visual-editor.html, which is a page
that submits a request to a photo service program at www.cs.auc.dk. The server returns
a zip file with all necessary html stuff for a photo show, including new index files.
Please notice that this facility is experiment, and not yet meant for general use.
Obsolete. Use the XML-in-LAML Photo Show Tool.