[[gallery.image]]

Available Since: V1.0.0

Draws a single image from the gallery.

Placeholder Description
id The ID of the image 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]]" />
`]]
Placeholder Description
 id  The ID of the image being drawn.
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