Using images in document templates: Difference between revisions
From Planfix
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
There are two ways to use images in [[document templates]]: | 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 | *'''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: | 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: | ||
https://s.pfx.so/pf/br/ZRhtiY.png |
Revision as of 09:35, 23 August 2022
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: