img

Creates an image tag for the first image file matching the specified glob pattern. The image can also be cropped by defining a maximum width and height.

<@ img { options } @>

Options

file String|false
The path to the file to be placed. In case a glob pattern is provided, the first match is used. The default is false.
width Integer|false
The optional maximum width of the placed image. The default is false.
height Integer|false
The optional maximum height of the placed image. The default is false.
crop Boolean
Defines whether the placed image is cropped or scaled to fit the specified height and width. The default is false.
class String|false
An optional class for the <img> tag. The default is false.
filelist nav