How to add dynamic images to your campaigns
A dynamic image changes depending on who opens the email. Instead of sending the same image to the entire list, each subscriber sees the one that corresponds to them based on one of their details, such as the product they are interested in, their nearest store, or their name written on a banner.
It works with a field in your list. In the editor’s image block, the image address includes that field’s tag, and when sending, it is replaced with each subscriber’s value.

In this article
1. What you need before you start
2. Show a different image to each subscriber
3. Add personalized text on an image
What you need before you start
- A design created with the block editor. The Dynamic image option is in the image block of the template editor.
- A field in the list with each subscriber’s data. If it does not exist yet, create it in the list fields. Values can be filled in one by one or, much faster, by importing a file with that column.
- The data filled in for all subscribers who receive the campaign. If a subscriber is missing it, the image address remains incomplete and they receive a broken image (see what happens if the field is empty).
Show a different image to each subscriber
The most common case is having several images in the editor’s gallery and having each subscriber receive one of them. The list field stores the file name assigned to each person.
1. Upload the images. In the editor, add an image block and upload them to the file manager with Change image. When you choose one, the Image properties panel shows its address in Url and its Image name. All the images you upload share the same address, and only the name at the end changes.

2. Save each subscriber’s image name. In the list field, enter the file name each subscriber should see, for example blue-trainer.png, exactly as it appears in Image name, with capitalization and extension.
3. Enable the dynamic image. Go back to the image block and enable Dynamic image. In Dynamic Url, paste the image address and replace the file name at the end with the field tag. If the field is called IMAGE, the address ends in /*|IMAGE|*.
The image left in Url is only the example image you see in the editor, and the dynamic image takes its size from it. It is a good idea for all images to have the same proportions so the design does not shift.
4. Check the result. In the editor you will always see the example image. To see a subscriber’s image, send a test to an address that is in the list with the field filled in, because the test uses that subscriber’s data.
Save only the file name in the field, not the full address. List fields accept up to 128 characters, and a full address may exceed that limit and be cut off.
Add personalized text on an image
To write a subscriber’s detail on top of an image, such as their name on a welcome banner, you need an external personalized image service, such as Nifty Images. These services generate the image at the moment the email is opened, based on a parameter in its address.
In the service, design the image with a variable text layer and indicate that the data arrives with the field tag from your Acumbamail list, for example *|NAME|*, written exactly the same way. The service provides an image address that already includes that tag. In the editor’s image block, paste that address into Url to have an example image, enable Dynamic image, and paste it again into Dynamic Url.
These services usually allow default text for those who do not have the data, so with them an empty field does not leave the image broken. On our YouTube channel there is a video with the full process in Nifty Images.
Frequently asked questions
-
What happens if a subscriber has no value in the field?
When sending, the tag is replaced with the field value, and if it is empty, it disappears. The address is left without the file name and the subscriber receives a broken image, not the example image from the editor. To avoid this, fill in the field for everyone or send the campaign to a segment with the subscribers who have it.
-
In the editor and in the preview I always see the same image
This is expected. The editor does not know each subscriber’s data and shows the image from Url as an example. The dynamic image is only visible in sent emails and in tests.
-
In the test, I receive a broken image
The test uses the data of the list subscriber with the same address. If the test address is not in the list, it uses another subscriber’s data, who may have an empty field. Send it to an address in the list with the field filled in and check that the file name matches the one in Image name.