Use Images (Legacy Documentation)

If you want to show public images in your template (like the company logo), it's recommended to use this Image feature.

The Static Resources Inline images are secured and inlined in the email costing more data. If you use the Image feature, your images are public and CDN urls can be used making the emails smaller.

Step-by-step guide

  1. Go to the images section via Notifications → Notification Mappings → Images

  2. Click the Create Button

  3. Fill in the creation parameters as shown below and Click Submit

     

 

  1. The name of the image this will be used in the alt text html attribute of the image when hovered and velocity script used to add the image to the theme/template.

  2. This Drop down relates to the Project Key you wish to associate the image with. This can either be a specific Project Key or Global (all projects are associated to the image).

  3. This Drop down relates to the Theme you wish to associate the image with. This can either be a specific Theme or Global (all projects are associated to the image). More information on Themes here: Create custom Theme and Template Sets.

  4. Upload a file from your local machine (choose this or 5).

  5. Upload an image using an external URL image (choose this or 4).


Getting the velocity script

Once uploaded you should see a new image item as shown below:


The Template Script in this example <img src=”$jemhUtils.getImageUrl('Test Logo')” /> can be added to a Theme or Template associated with a valid theme (donated in the Theme Column of an image item).

Related Articles