You need to sign in to do that
Don't have an account?
Images in Visualforce email templates
Dear all,
I have a problem regarding the images. I followed the steps using the answers that provided in another post : https://developer.salesforce.com/forums/ForumsMain?id=906F000000096DdIAI
The thing is on the test verify I do see the image but when I email the template it shows as broken.
My steps were :
1) Created a folder named image and added the jpg.
2) Zipped the file and uploaded it into Static Resources.
3) The code used to have the jpg into the email is :
<img src="{!URLFOR($Resource.WeddingLogo, 'image/WeddingLogoNew.jpg')}" height="75" width="350" alt="WeddingLogoNew.jpg"></img>
I do get it on the preview but not on the emails that I send. Any idea what is causing this??
It's broken image that is showing up.
This shold resolve the issue:
https://help.salesforce.com/HTViewHelpDoc?id=email_template_images.htm&language=en_US
https://developer.salesforce.com/forums/ForumsMain?id=906F000000096GmIAI
Instead of static resource, add the image in Document and use it's server link.
Thanks,
Pratik
P.S. If this answers you question, please mark it as "Best Answer" so it will help other community members too.
All Answers
Hi Debbie,
Have you checked in your email wheather it's showing option to download image option.
Many time in email it will not show image but it will ask in the top side of email header to download image.
Thanks,
Pratik
Here is an outlook.
And here is the Html Preview in Salesforce
There is no option for downloading the image!
It's broken image that is showing up.
This shold resolve the issue:
https://help.salesforce.com/HTViewHelpDoc?id=email_template_images.htm&language=en_US
https://developer.salesforce.com/forums/ForumsMain?id=906F000000096GmIAI
Instead of static resource, add the image in Document and use it's server link.
Thanks,
Pratik
P.S. If this answers you question, please mark it as "Best Answer" so it will help other community members too.
Your answer was helpful and have managed to solve the problem.
Source: https://mobilunity.com/blog/hire-machine-learning-developers/