Available Since: V1.0.0
Draws the latest image added to the gallery, a specific album or a range of albums.
Placeholder | Description |
---|---|
album | Optional ID of the album to get the latest image from. |
from | Optional comma separated list of albums to select the latest image from. |
exclude | Optional comma separated list of albums to exclude from the search for the latest image. |
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. |
depth | Optional depth to descend to within nested albums, 0 for unlimited. |
[[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 draw. |
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. |