Inserting Image Files into a Template
Using the INSERT instruction , you can insert JPG, PNG, and GIF image files to a template's document assembly process. You can do this in two ways:
- Specifying an image external to the current template
- Specifying an image located in the same template
If during template development, you do not know which graphic you should insert, you can use a variable INSERT instruction so that the file path and name can be inserted during document assembly. For details, see Specify File Names for Inserting Files During Assembly.
Inserting a Graphic File External to the Current Template
Although you can insert templates or graphics from any location, file names for inserted templates or graphics should be unique if you plan to publish templates for use on HotDocs Server or Cloud Services .
To insert a graphic file external to the current template
- In the template, position the cursor where you want to insert the image file.
- Click the INSERT Field button. The INSERT Field dialog box appears.
- Select INSERT Image.
- Next to the Image file to insert field, click the Open button; then browse to and select the graphic file you want to insert.
- Click OK. HotDocs inserts the graphic at document assembly.
Inserting a Graphic File Stored in the Same Template
You can insert a graphic file that is located in the same template.
To create an INSERT instruction using an existing image in the template
- In the template, click the image you want to include in a DOCX document. Field borders appear around the graphic.
- Click the INSERT Field button. The INSERT Field dialog box appears.
- Select INSERT image.
- Enter a name for the DOCX document in the Image file to create field. (To specify a folder location different from the template, click the Open button and browse to the folder.)
- Click OK. HotDocs removes the image from the template, copies it to an DOCX document, and inserts the INSERT Image instruction.