2018.1

Table Of Contents
HTML tag: img
When you add elements, such as text, images or a table, to the content of a template, you are
actually constructing an HTML file. It is possible to edit the source of the HTML file directly in
the Designer; see "Editing HTML" on page523.
In the section's source file, images are <img> elements. The <img> tag has at least four
attributes: src, alt, width and height. src specifies the URL of the image. alt contains the
alternate text; see "Setting an alternate text" on page605.
The value of the attributes can be changed via a script; see "Attributes" on page524.
Adding images
This section explains the difference between imported and external images and describes a
number of ways to add images to a template.
Note
The Connect image cache size is limited to 100MB. This allows most output jobs to run faster.
However, if a job requires more than 100MBs of image files, then the Connect image cache size
can be increased to cater for such. Please contact OL Support for instructions on how to modify the
image memory cache value, if needed. (See also: "Limit of 100MB of image files within a single
job" on page135.)
Imported or external images
In templates, both imported images and external images can be used.
Imported images are images that are saved within the template file. To import images into a
template and add them to the content, you can use the drag-and-drop method or the Select
Image dialog (both are explained below).
External images are either located on a specific website (URL), or in a folder on a hard drive
that is accessible from your computer. Note that external images need to be available at the
time the template is merged with a record set to generate output, and that their location should
be accessible from the machine on which the template's output is produced.
External images are updated (retrieved) when the output is generated. To refresh them at any
other time, use the Refresh option in the menu (View > Refresh) or the Refresh button at the
Page 601