Campaign supports .jpg, .png, and .gif image files, including animated .gif files. Because the recipient's ISP or email client determines how to render the animated .gif files, be sure to test your template in various environments. Vector images are not supported. You can add an image to your email in the content builder by:
- Referencing a URL.
- Uploading the image file from your computer. Uploaded images are placed in the folder with your site pages.
- Inserting images that are stored in the asset library or stored files. If an image that is stored in the asset library is inserted into a single email multiple times, each instance of that image uses the same ContentID.
Add an image
To add an image, complete the following steps:
- In the body of the email template, place your cursor in the editor text where you want the image to appear.
- Click the Insert/ Edit Image icon to open the Image Properties dialog box.
- Select one of the options.
- Select Upload Image to upload an image file from your computer or to select a file from the asset library or stored files.
- Select Reference Remote Image and enter a URL to use an image on another site. Images on other sites are placed in the page by reference and are not uploaded to the site.
- Add alternative text.
- Configure the settings. All values are in pixels.
- Width/ Height: Enter width and height settings to adjust the size of your image. The size of the image changes in the Preview window depending on what you enter in these fields.
- Border: Enter a Border dimension (in pixels) to add a border around the image.
- HSpace/VSpace: Enter an HSpace and VSpace dimension in pixels for white space between the image and page borders or content.
- Align: This property specifies where the image is placed in relation to the image text.
- Save Copy to Library: To place a copy of the image in the asset library, click Save Copy to Library before you click OK.
- Click OK and the image appears in the editor.
You can use animated countdowns, such as a .gif file, in your emails to allow your recipients to see how many hours are remaining in a sale or clearance event. To add a countdown clock, source the image from a third party, such as http://www.timeanddate.com. Add the HTML code to a landing page or an external hosted website. In your email, view this code as external content.
Update an image
To update an image in design view, complete the following steps:
- Open the email template.
- Right-click on the image.
- Select Edit Image.
- In Image Properties, upload a new image or change the URL of the remote location.
To update an image in the source view, complete the following steps:
- Click Source.
- Enter the image tag within the body of the code.
- If the updated image does not show in the preview:
- Click Advanced and Content Hosting.
- Click Locate next to the image name.
- Upload the image from your hard disk drive, the asset library, or stored files.
Content Builder works to HTML5 compliance. In HTML5, the width attribute for images accepts values only in pixels, not percentages.
Troubleshooting broken images
Although an email might preview with no issues, it can show broken images in a test or live send. Broken images in an email can occur for the following reasons:
The image directory path or name has spaces.
For example, in Logo File.jpg, the space in the file name is sometimes replaced with
%20. Not all email clients (including Gmail) replace the space and, without the
%20, the link to the image is broken. You must remove the space or change the file name outside of and then import the image file. In the previous example, you could change the file name to File-Logo.jpg or FileLogo.jpg.
The image does not have a file extension.
An image file was imported without a file extension, such as .jpg, .gif, .png. Although the image might display in some email clients, it might not in others. Outside of, export the file again to make sure that the file extension is correct.
Image source might be unavailable - URL linked email.
If you host an image outside of and do not see the image, check if the image is available. In Source View, copy the full URL of the image. Paste the URL into the address bar of any browser. If the browser displays a
Not Found error, make sure that the file is within the online folder or determine whether the site is having connection issues.
Image source might be unavailable - Image location URL is pointing to a sent email or landing page that is no longer available.
If you reference a remote image that references an older sent email, the URL looks something like this example:
http://contentz.mkt941.com/mra/2014/1079/12/47726656/logo.png. Or, in the case of a landing page,
http://content.mkt941.com/lp/1079/203358/images/logo.png. The numbers before the image name are the sent MailingID. In this example, the ID is
You can use the Find function to search for the ID number. If no results are returned, the email was archived or deleted, which results in your current email (and any other assets that use the same URL) to display the broken image message. The same is true for landing pages that were closed or deleted. Any images that they hosted would also no longer be available. All links that point to the image on the archived or deleted landing page break.
Image file name includes special characters.
Using special characters in the image file name can cause the link to the image to break.
Images don't display in Gmail
If your email images don't display in Gmail, it's likely because the image name contains a space. Gmail converts spaces in image names to plus signs (+), which results in a broken image. You must modify your image names in so that they don't contain spaces.
Content ID is corrupted
A common reason for broken images is that the content ID for the image is corrupted, often from improperly copying from other emails.
Don't copy the source code from one saved email and paste it into another, because you are likely to copy a content ID that is specific to the original email. Instead, use Save as or the Save a Copy option.
- Go into Source view to view the code.
- To identify each image, search for src.
Each image has a
content id =,
- Remove the entire reference, including tags and attributes, to the
content id =,
spname=. For example, remove
contentid="1a2b3-12a5c89e016-1973771dea71da7e4c551ed9f05528be" xt="SPIMAGE" spname="imagename". By removing these elements, you can relocate them. You might want to give the images new names before you upload.
- In design view, click the Content tab.
- Upload the images directly to the ruleset. This action generates new content IDs.
Unable to locate image body tag
When you try to save an email, you see the error:
Unable to locate Image Body Tag from body: your-image.jpg.
There are two possible solutions for this issue.
Replace the image.
- Locate the image in Source View.
- Either remove the image tag in Source View or switch to Design View, select the image, and click Delete.
- Shorten the image name to fewer than 20 characters and remove the unsupported characters. Note You might want to re-export the image as .jpg, .gif, or .png.
- Click the Insert/Edit Image icon to insert the image.
Repair or insert the image by adding it to the Asset Library.
- Right-click the image and select Edit Image.
- Click Save Copy to Library.
- Rename the image and make sure that the name is fewer than 20 characters.
Unable to change an image or add an image link
If after you add the required information on the Hyperlink tab in the Image Properties window and click OK, nothing happens, take a look at your source code for the image contained in the
style tag. It should look like this example.
<img width='40' height='1' spname='images_spacer.gif' xt='SPIMAGE' contentid='4491ae1d-1437628d147-d7c8ec57ae636c7258d3eb0ef0e531f2' style='display: block' alt='' name='images_spacer.gif' src='images_spacer.gif' />
To resolve this issue, remove this style attribute.