Using images in document templates: Difference between revisions
(Created page with " {{#seo: |title=Using images in document templates |titlemode=append |keywords=Planfix, templates, document, изображения. images, files, using |description=Using i...") |
No edit summary |
||
Line 7: | Line 7: | ||
<div style="background-color:#ffcaca; border: 1px solid #fd9292;padding:10px;">In document templates, it is allowed to use images in the formats: '''BMP''', '''JPG''', '''JPEG''' и '''PNG'''.</div> | <div style="background-color:#ffcaca; border: 1px solid #fd9292;padding:10px;">In document templates, it is allowed to use images in the formats: '''BMP''', '''JPG''', '''JPEG''' и '''PNG'''.</div> | ||
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. |
Revision as of 09:20, 23 August 2022
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: