Images

Summary

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.

Create

Images can be uploaded either by a file or through a URL link

The Create button allows you to add your own logo which can be implemented to the templates. When pressed you will see a form which will ask:

Name

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.

Project Key

Defines which projects these images can be used with. Allowing for Project specific logos. Leave blank to be applied to all Projects that reference the image.

Theme

Defines the theme that can use this image within it’s templates. Leave blank to be applied to all themes.

File

This is where you select the logo file to be uploaded.

URL

URL link to where the image can be accessed and downloaded from.

Delete All

Delete All will remove all uploaded images. This will impact all templates and themes that use these images.

SVG Image Conversion

SVG images aren't supported by all email clients. JEMH Cloud can convert SVG to PNG when sending notifications to ensure that the images are supported.

PNG images are often larger than SVG images and therefore may consume more data from your plan allowance.

This can be disabled by pressing Change.

System Images

These system images are used within the default templates and within the System Macros. These system images cannot be removed. However, they can be overridden by uploading a image with the same name as a system image.

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