function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Dave ShulmanDave Shulman 

Incorrect Picture Sizing in HTML Templates

Hi All,

when creating HTML templates I try to bring in pictures in my FIles.   The pictures are large, but in the HTML source of the template i adjust the size atribute to where i want it to be, and the template displays properly in the email preview.  Then when i send the template, it is recieved in the source file sizing (the images are giant).  How do I get the images to be recieved the same as they are displayed in the template.

<a href="https://www.facebook.com/"><img alt="FaceBook logo" src="https://test.555.content.force.com/file-asset-public/FaceBook_logo?oid=00B100000000001" style="max-width: 30px" title="FaceBook logo" /></a>

 
Best Answer chosen by Dave Shulman
VinayVinay (Salesforce Developers) 
Hi Dave,

User image attributes to set height and width.

<img src="YOURIMAGEPATH" height="550" width="350" />

Review the below link which has information on 'Add Images to Email Templates'.

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

Hope above information was helpful.

Please mark as Best Answer so that it can help others in the future.

Thanks,
Vinay Kumar