Add an image caption with a link

In order to display an image caption with a link, you must first generate a link in the Text element.

Note: Skip this step if you are familiar with the Inxmail syntax.

You then copy the generated link from the Template Editor and insert it into the optional img_desc HTML parameter.

Step by step

To generate a link in the Text element and then insert it into the optional img_desc HTML parameter, proceed as follows:

  1. From within the Text element (for example, in the Welcome), click the Insert link button in the Template Editor toolbar.
  2. In the Insert link dialog box, select a link type and enter the link address (for example, example.com) and link text (for example, Click here).

  3. Click the Optional HTML parameters button if you want to select your choice of text colour for the link.
  4. To do this, enter the HTML command style=“color:#COLOUR:“, for example, style=“color:#BA2A28:“, in the Optional HTML parameters field.

  5. Confirm your entries by clicking OK.

    The link will be inserted into whichever Text element you selected.

  6. Now copy the generated link, including the Inxmail syntax, from the Text element

    .

    Important: You should then delete the link if you do not want it to appear in the text.

  7. Insert the copied link into the optional img_desc HTML parameter in the usual way.
  8. To do this, open the Image > Link image element for which you want to set the image caption.
  9. Then click the Options button.
  10. Enter the link as follows:

    img_desc=“TEXT and [LINK]“, e.g. img_desc=“<span style=color:#004F7C;>Elizabeth Knit Top [%url; http://example.com; “Click here“; “style=\“color:#BA2A28;\““]</span>“

  11. Confirm your entries by clicking OK.

    The image now has an image caption with a link. The link text in the caption is red.