Variable Images?

I'm new to CM but have done this in my PURL application. I didn't see anything about this in the docs or forum search so I wanted to get some feedback if this is possible.

Say I have 15 different images to display to 15 different list segments. Instead of splitting the list into 15 smaller lists and setting up 15 templates each with a different image, can I just do something like:

<img src="http://myownpersonalserver.com/[variableimage].jpg" cm_dontimportimage>

Assuming I have the [variableimage] field in my list for each record?

Any reason why this wouldn't work, aside from putting load on my own server? Or can CM do this natively?

Thanks.

davidaf davidaf, 7 years ago

Hey ryanjkirk,

Yep, that's absolutely possible and done exactly as you have outlined. For more information, you can check out Smart Ways to use Custom Fields


The Campaign Monitor Blog – HTML email smarts to go with your good looks

Join 200,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free
1-888-533-8098