Add hyperlinks to images in Microsoft Word templates

You can add hyperlinks to images in Microsoft Word templates. In Word, you add an image to your template using a picture content control. In this control, you enter the field tag for the hyperlink, and then format the tag as a hyperlink. Add the template to a DocGen Package and use it to generate documents that include images with hyperlinks.

Requirements

Add hyperlinks to images

Use static images or dynamic images, but you must use the picture content control in Microsoft Word (for the PC) to add the hyperlink. First add a picture content control to your template, then add an image. With the image in place, use the Properties field on the control to add a tag for your hyperlink to the image. For more information, see About content controls.

To add a hyperlink to an image in a template

  1. In Word, place the cursor where you want the picture to appear in your template, then on the Developer tab, click the picture content control.

  2. In the picture content control, click the picture icon to add an image.

  3. Select the image and then, on the Developer tab, click Properties.

  4. In the Content Control Properties box, enter the field tag for the hyperlink into the Tag field.

    For example, in Tag type <<Account_Website>>.

  5. Edit the tag to include two consecutive underscores followed by hyperlink (__hyperlink) inside the closing angle brackets.

    For example, type <<Account_Website__hyperlink>>

  6. Click Ok.

  7. Save and add this template to your DocGen Package and then generate documents with hyperlinks in images.

Related information

Add dynamic images to output with button parameters

Adding template files to DocGen Packages

Create new DocGen Packages with the DocGen Package Wizard