fotogal ========= a shell script for quickly generating html galleries // (c) pesco 2010, isc license basic operation ----------------- - enter a directory containing '.jpeg' or '.jpg' files. - call 'fotogal'. - wait. note automatic orientation adjustment according to exif data. - notice scaled images in '_scale/'. - notice thumbnails in '_thumb/'. - observe 'index.html'. thumbnails are linked to scaled images. note: auto-orient is performed in situ, modifying the original files! options --------- the following environment variables are recognized: - 'ssize': desired major dimension of scaled images in pixels. default: 1024. - 'tsize': desired edge length of thumbnails in pixels. default: 150. - 'css': urls of external css stylesheets to include, separated by whitespace. default: none. - 'js': urls of external javascript files to include, separated by whitespace. default: 'pixls.js' (see below). - 'rel': desired value of the 'rel' attribute on image links. default: 'pic'. the following command line flags are recognized: - '-r': do not regenerate existing files in '_thumb' or '_scale'. pixls.js ---------- a tiny "lightbox"[http://www.huddletogether.com/projects/lightbox2/] work-alike in pure javascript. it displays the images in a floating '
' atop the page with navigation buttons and metadata. 'fotogal' generates suitable html, namely 'rel' and 'title' attributes on image links. it will include 'pixls.js' by default; just place the file next to the generated 'index.html'. use the 'js' option (see above) to change the location or set 'js=""' to disable. example --------- have a look: download ---------- darcs get http://code.khjk.org/fotogal dependencies -------------- - imagemagick - ijg jpeg tools, specifically 'exifautotran' contact --------- send experiences, suggestions, patches to . your feedback is duly appreciated.