[fotogirl and pixpls readme updates Sven Moritz Hallberg **20100823094554 Ignore-this: bb2b0ea65849812fa143f5e7de06619e ] hunk ./README 28 - - 'ssize': desired major dimension of scaled images in pixels. default: 1024. - - 'tsize': desired edge length of thumbnails in pixels. default: 150. + - '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: 'pixpls.js' (see below). hunk ./README 44 +pixpls.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. + +'fotogirl' generates suitable html, namely 'rel' and 'title' attributes on +image links. it will include 'pixpls.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. + + hunk ./pixpls.js 5 +// MINI-README: +// mark image links ('' tags) with 'rel="pic"', +// provide captions with 'title="text"', +// include 'pixpls.js' (no other files needed). +// optional: customize margins and sizes by setting 'pp_' variables (see below) +// in a preceding '