You may quickly link to image nodes using a special syntax. Each image code will be replaced by thumbnail linked to full size image node. Syntax:
[image:node_id align=alignment hspace=n vspace=n border=n size=label width=n height=n nolink=(0|1) class=name style=style-data node=id]
Every parameter except node_id is optional.
Typically, you will specify one of size
, width
, or height
, or none of them. If you use size=label
, where label is one of the image size labels specified on the image settings page, the size associated with that label will be used. The sizes "thumbnail", "preview", and "original" are always available. If you use width=n
or height=n
, the image will be scaled to fit the specified width or height. If you use none of them, the thumbnail image size will be used.
If you specify nolink=1
, no link will be created to the image node. The default is to create a link to the image.
Alternatively, if you specify node=id
, a link will be created to the node with the given id.
The align
, hspace
, vspace
, border
, class
, and style
parameters set the corresponding attributes in the generated img
tag.