[[gallery.albumImage]]

Available Since: V1.0.0

Draws the single default image from an album.

Parameter Description
album The ID of the album to draw.
size The size of image to use in the album, one of t (tiny), s (small), m (medium), l (large), defaults to m.
withLink Set to 1 to link the image with its detail page or 0 to not link the image, defaults to 0.
imageTpl The chunk to style the image with.

Default imageTpl Chunk

[[if &subject=`[[+link]]` &operator=`!empty` &then=`
	<a href="[[+link]]"><img src="[[+src]]" alt="[[+title]]" /></a>
` &else=`
	<img src="[[+src]]" alt="[[+title]]" />
`]]
Parameter Description
 id The ID of the container album. 
link The address of the page holding the full size image.
src The address of the image to display.
size The size of the image.
title The title of the image.
menutitle The menu title of the image or title if none given.
desc The description of the image.
shortdesc The short description of the image. 
tags The image tags.
added The date and time that the image was added to the album.
uri The optional address stored with the image.




TOP