+ Start a Discussion
MC34MC34 

VF email template - Image now showing.

Hi,

I have create a visualforce email template and I created these steps: 

Uploaded the image to files in sales
created public link via Salesforce
Took the link and embedded into VF page. 

Unfortunately when testing the email..this is showing as this: 

User-added imagefile details:

size 44kb
type. PNG. 

any idea what I am missing?

thank you , 
Mit
ShirishaShirisha (Salesforce Developers) 

Hi Fincher,

Greetings!
Can you please double check if you have used the url in the correct format which should be inside the tags as below:
 

<img src="the public url which you have generated"/>

Reference:https://help.salesforce.com/articleView?id=email_template_images.htm&type=5

Kindly mark it as best answer if it helps so that it can help others in the future.

Warm Regards,
Shirisha Pathuri


 

MC34MC34
This is a format: 
 
<span style="font-size:8px;"><img src="https://test.my.salesforce.com/sfc/p/1U000000oeAl/a/3p000000pkDg/4mGDygrGzYPMusnsnITK9pxwhdVXA1UJF_IO4sXQJcE" style="max-width: 840.197px; width: 140.998px; height: 25.9981px;" title="testimage" /></span><br />
<span style="font-size:8px"></span><b><span style="color:#ffc107"><span style="font-family: Arial, Helvetica, sans-serif;">|</span></span></b><span style="color:black"><span style="font-family: source sans pro"><span style="font-size: 12px"> Makers of the world you want<b>&nbsp;</b></span></span></span><b><span style="color:#ffc107"><span style="font-family: Arial, Helvetica, sans-serif;">|</span></span><span style="color:black"><span style="font-family: source sans pro, sans-serif;">&nbsp;</span></span></b>&nbsp;

<br/><br/>