Symptom
When adding images to a template using "hotlinked image" or an "external image" stored on an external domain, Service Cloud V2 may not display these images in the Email editor when the template is added.
Environment
- SAP Service Cloud Version 2 1.0
- SAP Sales Cloud Version 2 1.0
Reproducing the Issue
- Go to Case
- Open a Case
- Create an Email
- Add your Template which includes the Image
Cause
The images are not displayed, as the images hyperlinks have been blocked by Service Clouds content security policy.
Resolution
- Add the domain name of the URL path for the image(s), to the allowed list in Content Security Policy Setting.
- Go to Settings
- Search for "Content Security Policy"
- Image Source
- Add the domain using the following format *.xxxxxx.com
- Use real image links
- Upload the images to a website or image server.
- Replace the image links in the template with permanent URLs.
Example: <img src="https://yourcompany.com/images/logo.png" />
- Embed the image using Base64 (binary)
- Convert the image to Base64 using a tool like https://www.base64-image.de/
- Replace the image link with a Base64 string.
Example:<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA..." /> - Tip:
Use Base64 only for small images (like logos or icons). For bigger images, permanent links are better.
See Also
3475290 - Image in signature is not showing up in the email
Keywords
Service Cloud V2, images, template, hotlinked image, external image, Email editor, broken image, image not loading, image, broken image, temporary image path, image not displaying, HTML template, email image issue, Base64 image, data URI, embed image in HTML, permanent image URL, hosted image path, convert image to Base64, inline image embedding, image CDN , KBA , CEC-CRM-TMP , Templates for SAP Sales/Service Cloud , CEC-CRM-EML , Emails for SAP Sales/Service Cloud , Problem