Home Resources Blog

For those of you creating email templates for your clients, the wait is over – you can now define default images. Default images are editable sections of an HTML email template that are inserted by the designer and are especially useful for displaying a fancy image ‘placeholder’ or defining images which won’t necessarily change from email to email.

This is especially great news if you resell Campaign Monitor and create templates for your clients to use in their campaigns, as it will potentially save a bit of time and confusion on their part and well, just look neater.

It’s also very easy for you to achieve, using a simple line of code in your HTML email template:

<img src="<$imagesrc link='true' default='https://www.campaignmonitor.com/assets/uploads/default_image.jpg'$>" />

Instead of the client seeing simply a blank spot where an image can be inserted, you can now define a default image which the client can view and edit in the WYSIWYG editor:


That said, the process has not changed when editing email templates in the WYSIWYG editor – you and your clients can still change the default image at your leisure:


You can specify any particular repeater or floating image to be used as a default image and it needs to be in .jpg, .gif or .png format and included in the zip file with the rest of your template.

Give the addition of default images a shot in your next template and let us know how you and your clients go – hopefully, you will enjoy playing with our powerful WYSIWYG editor as much as we do!

New to email templates? Take a look at our WYSIWYG editor walkthrough, our new series of email template tutorials on our blog, or our list of email template tags.

  • Steve Guberman

    Next step for images is to allow clients the ability to scale – they beg for it!

  • David Greiner

    Thanks Steve, we do have more ideas for the templates in the future and are always noting customer feedback on what they would love to see. Want to provide any more details on the sort of scale you’re referring to?

  • Tony Geer

    This is pretty nice. I demoed to a potential client the other day and I saved an image at my own site that I then downloaded and used the CM interface to upload to show them how it works.

    Needless to say, this is much better :)

  • Damien

    Oh, thats pretty sweet, will definitely be employing that one : )

  • Justin V

    Thank you! Great addition.

  • Mike Maddaloni – @thehotiron

    Thanks – this is a good start, but I will also chime in on the ability to place an image anywhere, in any size, or not to. The metaphor I imagine would be similar to FCKeditor where you can insert an image in any position, adjust its alignment, size, et. al. This would allow what can be done by editing the HTML manually for people who don’t know HTML.


  • matt adams

    dont forget you must add an image width for this to work in a template.

  • Mathew Patterson

    Thanks for the additional feedback – we’re always looking to strike the right balance between flexibility and letting designers create a consistent and appealing layout that they can control.

  • Alistair

    Cool update, still waiting impatiently for expanded repeater functionality.

  • Jeremy

    I love the way the images scale automatically.

  • Jamie T

    What about the alt text? If a user for instance changes the photo of the cat to a photo of a dog, the alt text would need to be changed. I have a few clients in an industry where the alt text is very important to them and their customers.

  • Ros Hodgekiss

    Hi Jamie, this is something we’re looking at adding, as we agree that it’s important for accessibility reasons. We’ll keep you posted as to if and when this can be made possible.

  • Tripkolk

    Cool update, still waiting impatiently for expanded repeater functionality..

  • Ros Hodgekiss

    Hi again Tripkolk, we will be looking closely at how we can improve template functionality this year – naturally, we’re taking all comments and suggestions into consideration and will keep everyone informed of the improvements we make. Many thanks for letting us know! :)

  • Vincent

    is there also an option for not showing a default image?

  • Vincent

    … because CM is showing a grey placeholder image/area even when ‘default’ is not defined, this image is not saved (when previewed), but i don’t want it visible when my clients start editing their newsletter…

  • Ros Hodgekiss

    Based on the feedback we’ve received over the last few weeks, the grey placeholder image will be removed shortly. So, a placeholder image won’t be displayed in repeaters, as per before. Many thanks to everyone who sent their comments in – we’ve been listening and well, learning :)

This blog provides general information and discussion about email marketing and related subjects. The content provided in this blog ("Content”), should not be construed as and is not intended to constitute financial, legal or tax advice. You should seek the advice of professionals prior to acting upon any information contained in the Content. All Content is provided strictly “as is” and we make no warranty or representation of any kind regarding the Content.
Straight to your inbox

Get the best email and digital marketing content delivered.

Join 250,000 in-the-know marketers and get the latest marketing tips, tactics, and news right in your inbox.


See why 200,000 companies worldwide love Campaign Monitor.

From Australia to Zimbabwe, and everywhere in between, companies count on Campaign Monitor for email campaigns that boost the bottom line.

Get started for free