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.
This method allows each recipient to receive an entirely unique image based on a complete URL stored in a contact field.
Choose a Field
Select an unused contact field to store your image URL data (e.g., Comment2
).
Prepare Your CSV File
Create a file that includes:
Email Address
The full URL path to each image (e.g., https://yourdomain.com/images/image1.jpg
)
Import Your Data
Upload the CSV to update your contact records.
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.
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_%%
Test the Campaign
Use a segment that includes contacts with valid image URLs stored—otherwise the image will appear broken.
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.
Follow steps 1–3 from Option 1.
Store only the image name in the contact field (e.g., image1.jpg
).
Insert an Image Block
Add a new Image block in your email file.
Click Update Image under Image Details.
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.
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.
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.
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.
Visit our e-Learning hub to explore how to build dynamic content blocks.
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.