2021.2

Table Of Contents
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1514.
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
page711.
Note that the image will not be visible in Design mode, but it will appear in Preview mode.
Moving an image
An image that is added to a section behaves like a character and is part of the text flow. To
move it, simply click the image and drag and drop it somewhere else in the text flow. To learn
how to wrap text around it, see "Wrapping text around an image" on page773.
How to make an image stay at a certain position (like any image added to a Master Page) is
explained here: "Pulling an image out of the text flow" on page774. When an image has an
'absolute position' it can be moved around freely: hover over the border of the image to get a
move pointer, click that pointer and drag and drop the image somewhere else.
Styling an image
Images can be resized using the handles on the sides and corners, or via the Image Formatting
dialog, which opens when you right-click the image and select Image..., or select the Format >
Image menu item.
Images can be styled using the same dialog, or through the CSS files; see "Styling templates
with CSS files" on page747.
A number of issues related to image styling are discussed in a separate topic: "Styling an
image" on page772.
Page 733