2019.2

Table Of Contents
which the template's output is produced. External images are updated (retrieved) at
the time the output is generated.
3. If the image is a PDF file that consists of more than one page, select the desired page.
Note
The number of pages in a PDF file cannot be determined via the HTTP and HTTPS
protocols. If you wish to use a page other than page 1 in a remote PDF, check the
option Save with template; then click OK and reopen the dialog. Next, on the
Resources tab, select the PDF, and select a page.
4.
Click Finish. The image will be inserted at the position of the cursor.
Importing images from another template
To import images directly from another template, click File >Import Resources... in the menu.
See: "Import Resources dialog" on page942.
Using one file that contains a collection of images (a 'sprite')
When a template that contains lots of images is merged with a large record set, the many file
requests may slow down the process of output generation. One solution is to combine the
images into a single image file (an 'image sprite') and display the part that holds the image.
This reduces the number of file requests and can improve the output speed significantly.
For an explanation of how to do this, see "Creating and using image sprites" on page1453.
Base64 encoded images
To insert a base64 encoded image into a template, you need to go to the Source view, insert
the <img> tag manually and set its URL - the src attribute - to the base64 string, for example:
<img src=""data:image/gif;base64,R0lGO...">.
If the base64 string is present in one of your data fields, you can set the src attribute
dynamically. For instructions see "How to use the captured or selected image in a template" on
page708.
Note that the image will not be visible in Design mode, but it will appear in Preview mode.
Page 729