X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/58e854555a5af63c811185e1196fee950ea2f58d..b0930dcb39d1f7612c2cdf310666cf2ae50e2c4c:/doc/plugins/contrib/album.mdwn?ds=inline diff --git a/doc/plugins/contrib/album.mdwn b/doc/plugins/contrib/album.mdwn index daf16fd3c..8dfbbf716 100644 --- a/doc/plugins/contrib/album.mdwn +++ b/doc/plugins/contrib/album.mdwn @@ -1,10 +1,10 @@ [[!template id=plugin name=album author="[[Simon_McVittie|smcv]]"]] -[[!template id=gitbranch branch=smcv/album author="[[Simon_McVittie|smcv]]"]] +[[!template id=gitbranch branch=smcv/album2 author="[[Simon_McVittie|smcv]]"]] [[!tag type/chrome]] -Available from [[smcv]]'s git repository, in the `album` branch -([[users/smcv/gallery|users/smcv/gallery]] contains some older -thoughts about this plugin). +Available from [[smcv]]'s git repository, in the `album2` branch. +Older (pre-rebase) versions in `album`, `album-live` (the latter +was used on an actual website and didn't explode too much). This plugin formats a collection of images into a photo album, in the same way as many websites: good examples include the @@ -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]]. @@ -110,7 +110,7 @@ image viewer. * The plugin doesn't do anything special to handle albums that are subpages of each other. If, say, `debconf` and `debconf/monday` are both albums, then `debconf/monday/p100.jpg` will currently be assigned to one or the - other, arbitrarily. + other, arbitrarily. It should probably pick the closest (longest) album name. * The plugin doesn't do anything special to handle photos with similar names. If you have `p100.jpg` and `p100.png`, one will get a viewer page called @@ -119,10 +119,18 @@ 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. + Probably related to: + +* Integration with [[plugins/contrib/trail]] is new, untested and not + very well implemented. In particular, the prev/up/next links are + redundant with the ones from `trail`. + ## TODO * The documentation should mention how to replicate the appearance of - `album` and `albumsection` using an `inline` of viewer pages. + `album` and `albumsection` using an `inline` of viewer pages, + elsewhere on the site. * The documentation should mention all the template variables and all the parameters.