OxiMailing

In a message, how to personalize an image according to a field in the recipient list?

Updated on November 28, 2026

In OxiMailing, you can personalize your message with fields (Customize the message). You can also personalize an image: each recipient then sees their own!

When is it useful?

Imagine you want to send your customers the contact details of their dedicated sales representative. You use fields containing the name of the sales rep, their phone number, etc.

Personalizing images also lets you add the sales rep’s photo, different for each recipient!

What are the prerequisites?

The images must already be online: on your website, or in your OxiMailing storage space.

Each recipient must then have a field containing the address of their image.

An example

Let’s say you have 3 sales reps. Their photos are online:

Each recipient has, in the “Sales rep photo” field, the address of their sales rep’s photo:

emailLast nameSales rep photo
mary.smith@example.comSmithhttps://example.com/images/salesrep_1.jpg
paul.jones@example.comJoneshttps://example.com/images/salesrep_2.jpg

Software

This field is a column of your recipient list (step “1 Recipients”).

Web app

This field is a field of your contacts: create it in the Contact Manager (“Contacts” > “Custom fields”) and fill in, for each contact, the address of their photo.

In the editor

Add an “Image” block, then, in its settings, hover over the image and click “Edit”. In the “URL” tab, enter the field code between double curly braces, for example {{sales_rep_photo}}, then click “Apply”:

The merge field as the image address

To find the exact code of a field, select a text and click the ”{ }” button of the toolbar: each field is shown with its code.

The list of fields and their codes

The editor cannot display the image, since its address is only known when sending. But the message will indeed differ from one recipient to another!

Do you code your email directly in HTML? Use the field in the image address: <img src="{{sales_rep_photo}}">.

Was this answer helpful?

Didn't find what you were looking for? Contact our support .