Images in emails reference

Last updated at:

You will learn

Learn how to manage images while working with email templates in Klaviyo, including uploading new images and editing existing ones. 

Best practices for using images in emails

Klaviyo supports JPG, PNG, and GIF image files. In general, PNG files will display best across devices, particularly for images that contain text.

The maximum image file size supported by Klaviyo is 5MB. However, we recommend using images that are 1MB or smaller, as larger images can load slowly, leading to a poor recipient experience.

Across the web, using 72dpi resolution is best practice. Try to keep your images to 600px or less in width and less than 2000px in height, in order to balance image quality and loading speeds.

Always add alt text to your images. Certain inboxes, including Outlook and Apple Mail, will not display images until a recipient opts in to see them. Including alt text helps recipients using these inboxes to understand what an image is meant to convey, and also supports accessibility. 

Insert an image block

The easiest way to upload images into Klaviyo is to simply drag the images from your computer into the template:

A user drags an image into a template to upload it

Each image you drag into a template will create a separate image block. Alternatively, you can drag an image block into the template first and then choose which image to include.

The image block in the Klaviyo email editor

Once you place the image block, you'll be prompted to add your image by:

If you are uploading an image, the maximum image size you can upload is 5 MB.

Edit an image

To edit an inserted image, click on the image in your template. In the left-side panel, you can adjust the image's alt text, add a hyperlink, adjust its size and alignment, and more. 

Click Edit to access a photo editor and adjust the image's appearance. Here, you can choose from an array of photo editing features ranging from resizing the image to adjusting the image's coloring. You can also draw over an image or overlay text.

Klaviyo's image editor

Images in uploaded HTML templates

For HTML templates you copy into Klaviyo (with the exception of MailChimp templates), you'll upload a zip file containing your images during the import process.

For MailChimp templates specifically, if you upload a template that contains images already loaded in MailChimp, Klaviyo will automatically copy over all of these images.

Once you've uploaded an image, you can use the Insert Image button to upload new images for that template:

Klaviyo's custom HTML image editor

Image quality

If you are concerned that your images are not rendering as cleanly or crisply as you'd like, you can improve image quality.

One of the prevailing standards for improving the crispness of a rendered image in an email is to insert an image 2x the desired size and then reduce the image size in your template. There are two ways to approach this:

  1. Insert a large, crisp version of your image into your template, then click Edit and resize to your preferred dimensions
  2. Insert a natively larger image (i.e. 600px wide) and display at a smaller size (i.e. 300px width) using CSS; to take this approach, you'll need to insert your image into a text block and adjust the CSS source code

Image types

Klaviyo supports three different image types: JPEG, PNG, and GIF.

If you have a PSD, SVG, or another file format, you'll have to convert it to one of the above image types.

Learn more about which image types are the best for your email.

Additional resources

Was this article helpful?
201 out of 404 found this helpful