Inserting Images Dynamically Using Text-Substitution Mechanism (2024)

Important: This information applies to Classic Campaigns which use the legacy Campaign Dashboard. Learn more about the Email Message Designer.

To include a dynamic image in an HTML campaign document, use a $fieldName$ text replacement field in the img tag, where the fieldName column in the distribution list or a supplemental data source contains image URLs), the value in the specified field must not include the protocol (http://).

Instead, the value in the data source should contain the portion of the URL after http://, and the img tag in the document should look similar to the following:

<img src="http://$fieldName$">

If the fieldName column contains only the names of the image files, the img tag should look more like this:

<img src="http://www.mycompany.com/images/$fieldName$">

Learn more

Inserting Images Dynamically Using Text-Substitution Mechanism (2024)
Top Articles
Latest Posts
Article information

Author: Kieth Sipes

Last Updated:

Views: 5901

Rating: 4.7 / 5 (67 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Kieth Sipes

Birthday: 2001-04-14

Address: Suite 492 62479 Champlin Loop, South Catrice, MS 57271

Phone: +9663362133320

Job: District Sales Analyst

Hobby: Digital arts, Dance, Ghost hunting, Worldbuilding, Kayaking, Table tennis, 3D printing

Introduction: My name is Kieth Sipes, I am a zany, rich, courageous, powerful, faithful, jolly, excited person who loves writing and wants to share my knowledge and understanding with you.