Inserting Images Dynamically using Text-Substitution Mechanism

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