Using images in document templates
From Planfix
In document templates, it is allowed to use images in the formats: BMP, JPG, JPEG и PNG.
There are two ways to use images in document templates:
- Statically - images are placed in document templates, and they are displayed in each template-generated document exactly as they were placed in the template.
- Dynamically - images are linked using a File variable, and in each template-generated document the variable is replaced with the image corresponding to the variable at the given time.
To place a dynamic image in a template, you can use a variable with additional parameters or a variable linked to a placeholder image, which determines the size and location of the image in the final document. Both options are outlined below.
Using a variable with additional parameters
In general, to insert an image into a document template, simply add the name of the variable in the desired location (line, cell) of the template, which in each document created will contain the corresponding image file: