Image

The <image> can be used to display images.

It can be used both within <body> and <template>.

Example

<image asset='atfinity_logo' width='3cm' height='1cm'/>

Attributes

asset

The key of the asset to render as an image.

left

if used within <template> this is the distance from the left border of the document, this can be in pt, mm or cm, e.g. left="20mm". Ignored when used in <body>.

bottom

if used within a template this is the distance from the bottom border of the document, this can be in pt, mm or cm, e.g. top="20mm".

width

The width of the image. Can be in pt, mm or cm, e.g. width="2cm".

height

The width of the image. Can be in pt, mm or cm, e.g. height="44mm".

Last updated