image tag, random?

I can see by the documentation that you can insert an image, make it editable, etc.. What I'd like to do is to have a random image displayed from a list of images each time an email campaign is sent (1 random image per campaign mailing).  I'm assuming it can't be done, just wanted to ask here.

roshodgekiss roshodgekiss, 5 years ago

Hi peteb, welcome to the forums! Unfortunately, you can't do this from within the app. If you're a confident coder, you could potentially create a script that runs on the server of your hosting provider and serves up a random image from within a set. Within your email campaign, you could link to this random image.

Our friends at StyleCampaign did something similar to this for a time-based email campaign - hopefully this provides you with some inspiration!


Get in touch with us on Twitter: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor

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