How do I merge a personalized image into my email for each recipient?

How do I merge a personalized image into my email for each recipient?

How to Merge Personalized Images into Email Campaigns

In some cases, you may want to personalize the image displayed in an email based on each recipient's data—such as a custom graphic, profile photo, or offer image. Delivra offers several ways to do this, ranging from merging image paths directly to using dynamic content.

Below are three common approaches to achieve personalized image rendering in your campaigns.

Option 1: Merge a Full URL to the Hosted Image

This method allows each recipient to receive an entirely unique image based on a complete URL stored in a contact field.

Step-by-Step:

  1. Choose a Field
    Select an unused contact field to store your image URL data (e.g., Comment2).

  2. Prepare Your CSV File
    Create a file that includes:

  3. Import Your Data
    Upload the CSV to update your contact records.

  4. Insert Image into Email

    • Open your email or template in the drag-and-drop editor.

    • Add a new Image content block.

    • Click the Update Image icon under Image Details.

  5. Replace the Image Location

    • In the Image Location field, replace the default URL with your merge tag.

    • For example, if using the Comment2 field, enter: %%Comment2_%%

  6. Test the Campaign
    Use a segment that includes contacts with valid image URLs stored—otherwise the image will appear broken.

Option 2: Merge Only the Image Name

If all images are hosted in the same location and share a common URL prefix, you can store just the image file name in a contact field.

Step-by-Step:

  1. Follow steps 1–3 from Option 1.
    Store only the image name in the contact field (e.g., image1.jpg).

  2. Insert an Image Block

    • Add a new Image block in your email file.

    • Click Update Image under Image Details.

  3. Build the Image URL
    In the Image Location field, enter: https://yourdomain.com/images/%%Comment2_%%

    This merges the static path with the dynamic file name from the contact record.

  4. Test as Needed
    Again, use a segment where recipients have image names stored, or the image will not display.

Note: If you're including the .jpg or other suffix in the uploaded data, make sure not to add it again in the static path.

Option 3: Use Dynamic Content (No Merge Tags Needed)

If your goal is to show different images based on group-level data (e.g., location, job title, customer type), use Delivra’s Dynamic Content feature.

Why Use Dynamic Content?

  • Easier to manage than one-to-one personalization.

  • Rules can be based on segmentation data like region, product interest, etc.

  • No CSV import or merge fields required.

Learn More

Visit our e-Learning hub to explore how to build dynamic content blocks.

Best Practices and Tips

  • Always test your email using real data to ensure personalized images render properly.

  • Use consistent image dimensions to maintain clean layout rendering across variations.

  • Group images in the same folder if hosting them in Delivra’s Media Library to simplify path merging.

  • Fallback options are important—consider adding default images if data is missing.

If you have any questions about merging personalized images or using dynamic content, our Support team is here to help. Just email us at support@delivra.com.

    • Related Articles

    • How do I merge a Personalized URL (PURL) into my email?

      What is a PURL? A PURL is a unique URL designed to be associated with a specific individual or recipient. PURLs are typically used in email to enhance personalization, track unique recipient engagement and responses. Marketers use PURLs for many ...
    • Creating email templates

      Email templates are design layouts that you customize and save for reuse. The purpose of email templates is to save you time in the campaign building process because you begin with a design that has many of your common elements pre-built. Our ...
    • Supported image file types

      You can upload many different image file types and other media files to the Media Library for hosting, but only image files can be inserted in your email designs created with our the drag-and-drop email editor. Media files that are not images can be ...
    • Why can't image files in the media library be moved into folders?

      When you upload images or media files into Delivra’s Media Library, they are automatically assigned a hosted file path. This hosted path allows the file to be displayed in emails and landing pages sent to your recipients. How Hosted Paths Work A ...
    • Image captions

      How to Add Image Captions Using Cell Groups Sometimes you need to pair an image with a short caption—whether it’s to describe a product, quote a testimonial, or provide context for event photos. Delivra’s drag-and-drop editor doesn’t include a ...