The albumimage directive is supplied by the album plugin.
Each viewer page produced by the album directive
contains an albumimage directive, which is replaced by an
img, wrapped in some formatting using a
template (by default it's albumviewer.tmpl). That template can also include
links to the next and previous photos, in addition to those provided by the
trail plugin.
The next/previous links are themselves implemented by evaluating a template,
either albumnext.tmpl or albumprev.tmpl by default.
The directive can also have parameters:
title,date,updated,author,authorurl,copyright,licenseanddescriptionare short-cuts for the corresponding meta directivescaptionsets a caption which is displayed near this image in the album and viewer pages
The viewer page can also contain any text and markup before or after the
albumimage directive, which will appear before or after the image in the
viewer page.