X-Git-Url: https://scripts.mit.edu/gitweb/www/ikiwiki.git/blobdiff_plain/27cb77cd1919d5c61ba67333a349ab6e54ed5976..1d7edde014277d6c6cbc1a1bd8a38dc58c21c64f:/doc/plugins/contrib/album.mdwn diff --git a/doc/plugins/contrib/album.mdwn b/doc/plugins/contrib/album.mdwn index 0393d26dc..63183ccfc 100644 --- a/doc/plugins/contrib/album.mdwn +++ b/doc/plugins/contrib/album.mdwn @@ -16,9 +16,9 @@ I've called it `album` to distinguish it from a better name for this functionality. The web UI I'm trying to achieve consists of one -[HTML page of thumbnails](http://www.pseudorandom.co.uk/2008/2008-03-08-panic-cell-gig/) +[HTML page of thumbnails](http://ikialbum.hosted.pseudorandom.co.uk/album/) as an entry point to the album, where each thumbnail links to -[a "viewer" HTML page](http://www.pseudorandom.co.uk/2008/2008-03-08-panic-cell-gig/img_0068/) +[a "viewer" HTML page](http://ikialbum.hosted.pseudorandom.co.uk/album/img_0120/) with a full size image, next/previous thumbnail links, and [[plugins/comments]]. @@ -34,10 +34,10 @@ Each page containing an `album` directive is treated as a photo album. Every image attached to an album or its subpages is considered to be part of the album. A "viewer" page, with the wiki's default page extension, will be -generated to display the image, if there isn't already a page of the same -name as the image: for instance, if `debconf` is an album and -`debconf/tuesday/p100.jpg` exists, then `debconf/tuesday/p100.mdwn` might -be created. +generated in the [[transient underlay|todo/transient_pages]] to display the +image, if there isn't already a page of the same name as the image: for +instance, if `debconf` is an album and `debconf/tuesday/p100.jpg` exists, +then `debconf/tuesday/p100.mdwn` might be created. There's currently a hard-coded list of extensions that are treated as images: `png`, `gif`, `jpg`, `jpeg` or `mov` files. More image and video types could @@ -119,6 +119,8 @@ image viewer. * If there's no `albumimage` in a viewer page, one should probably be appended automatically. +* When editing a viewer page, rebuilding it seems to fail at the moment. + ## TODO * The documentation should mention how to replicate the appearance of @@ -134,10 +136,11 @@ image viewer. * The generated viewer page should extract as much metadata as possible from the photo's EXIF tags (creation/modification dates, author, title, caption, copyright). [[smcv]] has a half-written implementation which runs - `scanimage` hooks, and has an `exiftool` plugin using [[!cpan Image::ExifTool]]. + `scanimage` hooks, and has an `exiftool` plugin using [[!cpan Image::ExifTool]] + as a reference implementation of that hook. * There should be an option to reduce the size of photos and write them into - an underlay, for this workflow: + an underlay (perhaps just the transient underlay), for this workflow: * your laptop's local ikiwiki has two underlays, `photos` and `webphotos` * `photos` contains full resolution photos with EXIF tags