Image merge fields let you insert the content from any text or text area custom field
into an <img> tag within the HTML where it displays, such as a message template, mailing,
survey, or answer.
Before you start
Before you can insert an image merge field to your content,
you must add a custom field to your knowledge base. See Add or Edit a Custom Field.
The custom field must contain the absolute or relative path
to the image you want to display in the content.
Here's what to do
- Click Merge Field in the Dynamic
Content section of the Toolbox.
The Merge Field window opens.
-
Click the Type drop-down list and select
Image.
-
Enter field information and values.
Image Merge Field Window
Field/Option |
Description |
*Merge Fields
|
Select a text or text area custom field from this list.
Note: The values in the custom field should contain the names of images stored on your
web server.
|
Default URL
|
Enter the default value of the merge field. The default value is used if a value does
not exist for the custom field in a record. The value should be an absolute URL to an
image (for example, http://www.example.com/images/logo.gif).
|
Base URL
|
Enter the base URL for the merge field if you use relative URLs in the custom field.
The value of the custom field is appended to this URL. For example, if the base URL is
http://www.example.com/images/ and the value of the custom field is logo.gif, the
result will be http://www.example.com/images/logo.gif. Leave this field blank if the
custom field uses an absolute URL.
|
-
Click OK.
- Click Save.
Tip: You can apply style and class attributes by
right-clicking an element after you add it to the canvas. See
Edit Style and Class.