Announcing the SAVIYNT KNOWLEDGE EXCHANGE unifying the Saviynt forums, documentation, training, and more in a single search tool across platforms. Click HERE to read the Announcement.

Base64 Image Embed in Email Template

JohnLawson
Regular Contributor
Regular Contributor

Is it possible to embed images using base64 images in HTML for Saviynt emails?

I've tried <img width="150" alt="" "data&colon;image/png;charset=utf-8;base64,*base64datahere*> but it doesn't render when it gets to the email client.

I can add link-based images but the email client blocks the download of the image by default which makes the email look suspicious to the end users.

 

We are on 23.2.5

1 REPLY 1

sudeshjaiswal
Saviynt Employee
Saviynt Employee

Hello @JohnLawson ,

No, embedding images using base64 encoding in HTML for Saviynt emails is not supported.
Please note that some email clients may not fully support displaying images embedded using base64 encoding, and they may not render properly in those clients.This may cause the image to appear broken or not show up at all.

However, you can try the following format to embed an image using base64 encoding :
Code:- <img src="data&colon;image/png;base64,<base64datahere>" width="150" alt="">

Alternatively, you can also upload the file as mentioned in the document and try using a different image format, such as .ashx extension, to see if it works. It's important to thoroughly test and consider the compatibility with different email clients before using this approach.

Thanks

If you find the above response useful, Kindly Mark it as "Accept As Solution".