Inserting Images into Notification Templates

Inserting Images into Notification Templates

This capability was added in release 2024.1.

To ensure images render correctly in most email and web applications, specific steps must be taken when inserting images into a notification template. Common methods for adding images, such as copy and paste or basic insert functions, can cause images to display improperly (or not display at all) in some email applications, particularly Gmail and other web-based systems.

Why Aren’t My Images Showing?

Images need to be linked rather than embedded. When an image is inserted or pasted into a notification template, the image is embedded into the email itself. Most web clients (including Gmail) remove embedded images. As a result, the notification may display correctly in nVIRO’s notification viewer, but the images will be missing in the recipient’s email application.

image-20240414-164416.png
Example nVIRO email viewed in Gmail with missing images

How to Insert an Image into a Notification Template

This method only works for images hosted at a URL.

When linked using the method below, Microsoft Word stores the image’s URL rather than embedding the image directly into the document. For commonly used, publicly available images, such as agency logos, this is usually not a problem—the image URL can be copied from the agency’s website.

To link the image:

  • Open the notification template in AceOffix.

  • On the Insert tab, open the Quick Parts dropdown menu and select the Field… option.

image-20240316-002908.png
  • Select the IncludePicture option from the list of field names.

  • Enter the image URL in the Filename or URL field.

  • Select the Data not stored with document checkbox.

image-20240316-003155.png
  • Click the OK button. The image will appear in the document.

If an Error Is Displayed Instead of the Picture

After opening a notification template in AceOffix (or a document in Microsoft Word), an error message stating “The linked image cannot be displayed” may appear instead of the expected image.

image-20240414-170028.png
Microsoft Word error message

This does not necessarily mean the image or link is broken. Microsoft Word occasionally cannot fetch images quickly enough before the document renders. Try pressing the Ctrl and A keys to select the entire document, then press the F9 key to refresh all fields.

Verifying An Image was Inserted Correctly

When editing a notification template with an image, it’s not possible to tell just by looking whether the image is embedded or linked.

To check, follow these steps:

  • Open the file in Microsoft Word (not AceOffix).

  • Go to the File tab and select the Options command.

  • In the Word Options dialog box, select Advanced from the list on the left.

  • Under the Show document content section, select the Show field codes instead of their values checkbox, and click the OK button.

image-20240414-165043.png
  • Close Microsoft Word and open the notification template in AceOffix. If the image is linked using the technique described above, the image URL should be shown in the document.

image-20240414-165254.png
Example field value for a linked image in a notification template
  • After confirming, repeat the steps above and clear the Show field codes instead of their values checkbox to return to normal image display.

 

Looking for labels? They can now be found in the details panel on the floating action bar.

Related content