I'm having some trouble with adding image editing support in a template.
I can add the image tag fine and it shows up in the template when editing, but I have to delete it before I can add a new one. This is unlike the expected behaviour when using one of the Campaign Monitor default templates (template-widgets.html), with the new version of the tagging system.
The question is; How can I have the "choose image" functionality in the editor, without having a dummy image that needs removing first?
Here is the code i'm using;
<repeater toc='true'> <layout label="New Article"> <table cellspacing="0" cellpadding="0" bgcolor="#ffffff"> <tr> <td colspan="5"> <h2><singleline label="Title">Title of article</singleline></h2> <multiline label="Description"><p>Description</p></multiline> </td> </tr> <tr> <td><img editable="true" label="Article image" alt="" width="330" src="images/gallery.png" /></td> </tr> </table> <img src="images/hr.gif" width="329" height="1" /> <img src="images/smallspacer.gif" width="192" height="25" /> </layout> </repeater>
Hi Darren, I understand this is a bit of annoying, but at present, you have to delete the dummy image in order to replace it. So the good news is that your code is spot-on, no troubles there at all. The bad - we're still looking at being able to add an image without a dummy one being their prior, or more likely, being able to replace an image without deleting it first.
Sorry about this - I'll certainly note internally that you would like to see this changed and will keep you posted if it happens in a future release. Thanks for your feedback here!
Okay, thanks for the feedback.
You should add a big fat note in the documentation explaining this. I spent an hour trying to edit my image, thanks to the forum I found the solution.
Sorry about this elime, we're looking at making a few tweaks in the future to make this process easier for everyone. Really appreciate your feedback on this, though!
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