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

200,000 companies around the world can't be wrong.

From Australia to Zimbabwe, and everywhere in between, companies count on 
Campaign Monitor for email campaigns that drive real business results.

Get started for free
1-888-533-8098