This is unreleased software, despite the link you've followed here. I'm still working on version 0.1.
Creates static HTML (and XML) web pages with thumbnails from your image directories. The content is static so that you can turn off all the active parts of your web server (PHP, CGI, etc) and just serve the files.
It copies the directory structure from the source, and creates smaller versions and thumbnails in the new structure. In addition it creates index.xml and index.html files in each directory, and copies in spp.css, spp-dir.xsl and spp-image.xsl in the top level of the destination directory.
If your source directory structure is this:
/home/russells/photos
a.jpg
2006/
b.jpg
you'll end up with this in the destination directory:
/var/www/photos
spp.css
spp-dir.xsl
spp-image.xsl
index.xml
index.html
a-thumb.jpg
a.jpg
a-full.jpg -> /home/russells/photos/a.jpg
a.html
a.xml
2006/
index.xml
index.html
b-thumb.jpg
b.jpg
b-full.jpg -> /home/russells/photos/2006/b.jpg
b.html
The files in the destination directory (a.jpg and b.jpg are smaller copies of the source files. (I could have done this the other way around, with a.jpg being the small file, and a-small.jpg or something being the smaller file, but I just didn't.)
The index.xml files refer to spp.css and spp-dir.xsl files. The a.xml etc files refer to spp.css and spp-image.xsl.
The index.html and a.html etc files refer to spp.css only.
All references to stylesheets are relative, so you can put the destination tree anywhere.
There are both XML and HTML files because Internet Explorer 6 acts strangely when given a relative URL to an XSL stylesheet: if the URL to the CSS stylesheet is also relative, it then tries to load that CSS stylesheet relative to the location of the XSL sytlesheet. Firefox handles this ok. As a compromise, if you view an XML file, all links in there will be to other XML files. All links in HTML files are to other HTML files or to bare directory names.
Documentation is available.
The simplest case, publishing a tree of images into a web directory:
static-picture-publish /home/russells/photos /var/www/photos
The latest (first) released version is 0.1. Several copies of it are available:
git clone http://adelie.cx/static-picture-publish.git