Multiple photos in the same editable region?

Using a template, we would like to be able to add more than one photo per article. For example, if we have 5 paragraphs, we would like to be able to a photo to the 1st and 4th paragraphs (both right aligned).

Is this possible, if so, how?

roshodgekiss roshodgekiss, 4 years ago

Hi julia, your best bet is to create 2 layouts - one for full-width text, one for the paragraphs you wish to have a right-aligned photograph on. At its simplest, the latter layout would be like this:

<layout label="Right-aligned image">
<table><tr><td>
<img src="" width="200" align="right" editable="true" style="margin: 0 0 10px 15px;" />
<multiline>Your text here</multiline>
</td></tr></table></layout>

Hope this helps - let us know how you go :)


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

Does that mean, in the editor, I would "Add new" for each paragraph that is full width, and "Add new" for those that have photos (but only the first would have the title of the article)?

roshodgekiss roshodgekiss, 4 years ago

Yes, that's correct - well, you would only have to 'Add new' for each section, not every paragraph of written content, per se. While you can add images inline to the source code of any multiline layout, the above would be the quickest and most consistent way to do this repeatedly.

PS: Just updated the code above, I made a few obvious errors.


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

I think I got it. I only have to Add new whenever there's a change -- photo in paragraph vs. no photo in paragraph. Is that right?

roshodgekiss roshodgekiss, 4 years ago

That's correct - give it a go in the email editor and I think you may find this to be a fairly practical solution :)


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