You need to sign in to do that
Don't have an account?
Antonino Cupi
Visualforce Email Template image not visible
Hi all,
I created a Visualforce Email Template but I can't see the image of the email when I receive the email. In the salesforce preview the image is visible. I created a new document uploading my image and I have checked the "Externally Available Image" option. In the Visualforce Email template I created the following path:
<apex:image value="https://c.cs86.content.force.com/servlet/servlet.FileDownload?file=0157E000000Fs9D" width="256" height="156" ></apex:image>
How can I see the logo when I receive the email?
Thanks
I created a Visualforce Email Template but I can't see the image of the email when I receive the email. In the salesforce preview the image is visible. I created a new document uploading my image and I have checked the "Externally Available Image" option. In the Visualforce Email template I created the following path:
<apex:image value="https://c.cs86.content.force.com/servlet/servlet.FileDownload?file=0157E000000Fs9D" width="256" height="156" ></apex:image>
How can I see the logo when I receive the email?
Thanks
Your URL looks wrong so please copy and paste the correct url of image by using below steps:
Right-click the image in after open the image record in document and get its reusable URL address. When you use the URL, you reference the copy of the image on the Salesforce server.
Refer compltely in the Link : https://help.salesforce.com/articleView?id=email_template_images.htm&type=0
Refer the below images:
Can you please Let me know if it works or not!!!
If it helps don't forget to mark this as a best answer!!!
Thanks,
Raj
All Answers
Your URL looks wrong so please copy and paste the correct url of image by using below steps:
Right-click the image in after open the image record in document and get its reusable URL address. When you use the URL, you reference the copy of the image on the Salesforce server.
Refer compltely in the Link : https://help.salesforce.com/articleView?id=email_template_images.htm&type=0
Refer the below images:
Can you please Let me know if it works or not!!!
If it helps don't forget to mark this as a best answer!!!
Thanks,
Raj
thanks for the replying! I change the URL as you said, it works!! Thank you very much for the support!
Regards,
Antonino
<a href="https://www.pango.tv/"><apex:image id="Logo" value="[https://pango.force.com{!URLFOR(!$Resource.PangoLogo)}]" /></a>
When I do this, it wont let me save the Visual Force page, it gives me the following error:
Error: Static Resource named PangoLogo does not exist. Check spelling. (I am using this image on another Visual Force Page so I know it is there.)
<a href="https://www.pango.tv/"><apex:image id="Logo" value="https://pango--c.na50.content.force.com/sfc/servlet.shepherd/version/renditionDownload?rendition=THUMB720BY480&versionId=0686A000001ctA3&operationContext=CHATTER&contentId=05T6A000005cntV /></a>
When I use the image url as described above the image does not render in emails, but it does show up on the preview of the Visual Force page....
I am not sure what I am doing wrong. If someone could help that would be awesome. I am just trying to add an emai signature for our invoices that is identical to the ones we use for our company emails.
Standard HTML: <a href="https://www.pango.tv/"><img src="https://www.pango.tv/images/email-sig.png" alt="Logo"/></a>