/
Add Inline Images/logos in notifications
Add Inline Images/logos in notifications
The current approach supported is to use image data tags, you could either pre-encode your image (eg with an external website such as https://codebeautify.org/image-to-base64-converter and include the data manually in a TemplateSet:
<img src=”data:<MIMETYPE>;base64,<BASE64_ENCODED_IMAGE>”>
A feature of JEMH (Static Resources) can do this automatically. Here is an example of how we can 'inline' an image in the above way for a resource with ID 27.
$jemhUtils.renderStaticResourceImage($issue.getProjectObject(), 27)
Alternate paths to consider are externally hosted image files, eg from a CDN:
<IMG SRC="http://cdn..../image.png">
The following site adds some more background to approaches and highlights how no one solution is perfect.
As yet JEMH doesn't have the ability to attach 'referred' Static Resources' via CID image embedding, that improvement is being tracked internally as JEMH-7164OPEN .
, multiple selections available,
Related content
Change the From: Address in Notifications
Change the From: Address in Notifications
Read with this
Update JEMH Profile via XML
Update JEMH Profile via XML
Read with this
JSM Customer Visible Status replication
JSM Customer Visible Status replication
Read with this
Customize Email Templates
Customize Email Templates
Read with this
Change the EventID or Ignore an Event
Change the EventID or Ignore an Event
Read with this
Add JIRA users without project permission as non-JIRA users
Add JIRA users without project permission as non-JIRA users
Read with this