Group overview pages show the contents of a group: the information (title, subtitle, description, and series), its images (using the "Index" image size) and links to its subgroups (if present). Each image is a link to its main image page. The following screenshot illustrates this.
Main pages show exactly one image (using the "Main" image size), together with generated navigation elements. Below the image, there are the title, subtitle (if present), and description. The following screenshot illustrates this.
There is a PHP script called "img.php" (that includes "img-classes.php" and "img-loader.php"; they work with PHP 4 and PHP 5) that can be used to create HTML pages for image or image group display (they are in PHP because this is the only language the author can use with his Internet provider). These scripts are contained in the J Photo-Explorer distribution.
The "img*.php" script files must be
in the Web export directory (the parent directory of the exported series).
They need the exported
"_<Series-Dir>-metadata.xml" or
"_<Series-Dir>_metadata.txt"
files.
In the scripts, please change the $g_seriesBaseDir variable according
to your directory structure. The HTML layout in the "img.php"
script is enclosed in <!-- Begin/End Layout --> HTML
comments and can be replaced without affecting the functionality of the
PHP script.
The PHP script accepts the following URL parameters:
s | Directory name of the photo series (e.g. "sao-tome") -- in lower case because J Photo-Explorer exports all directory and file names in lower case. Each series directory is an immediate subdirectory of the directory containing this PHP script. The series overview HTML file is "<Series-Dir>/index.htm"; the series directory shall contain a "_<Series-Dir>-metadata.xml" or "_<Series-Dir>_metadata.txt" image metadata file written by J Photo-Explorer export. | |
g |
For group overview pages. The parameter value is the directory name of
the group in a series (e.g. "boca-do-inferno" in lower case);
as a direct or indirect subdirectory of the series directory.
The images displayed for a group overview page are of the
"Index" image size. -- or -- |
|
i | For main image pages (showing images in the "Main" size). The parameter value is the base name of the image file or "first" for the first image in a group (if i="first" or if there are several images with the same name in a series, the "g"roup name must be given). |
The com.dgrossmann.photo.dir package contains the classes that represent file system objects and classes that can read "_<Series-Dir>-metadata.xml" and "_<Series-Dir>_metadata.txt" metadata files. Web-exported metadata files have the following differences to metadata files in the source series directories: