Corey Babka No Comments

You can add images to Salesforce templates for special occasions or general use.  To add images you first need to upload the image file to Documents.  From there you can access the URL address to include in the HTML of the template.  Here is how it’s done:

Add the Image File to Documents:

  1. Go to the Documents Home page. If you do not see “Documents” in the menu bar, click on the “+” and select it from the list.
  2. Under Recent Documents, click New.
  3. Give the image a descriptive name and store in Shared Documents. If you do not want anyone other than yourself to have access, then store the image in My Personal Documents.  It is also a good idea to add a description.
  4. Click the Choose File button and navigate to the image file to import.
  5. Click the Save

  1. The Document window will update and display the image properties.
  2. Click the View File

  1. The image will open in the browser. Copy the URL in the browser window or right click on the image and choose Copy Image Address.  It will look like this:


  1. Save this for your template code.

Add Image to Salesforce Template:

  1. From Setup, search for Templates and click on the Template type you are using. For this example we are using a Classic Email Template.
  2. Select the template you want to add the image to and click the Edit HTML Version
  3. Paste the Image URL address into the template. Here is an example of the code:

<img src=”″/>

  1. Preview the template and make changes as needed.
  2. Click Save.

NOTE:  You can access your image at any time by going back to the Documents Home page.

Written by Becci Gearman

Leave a Reply

Your email address will not be published. Required fields are marked *