Images not embedded when using html-editor

Use this forum to report bugs and to check for bugfixes and new releases of OpenEMM

Moderator: moderator

johndoe
Posts: 2
Joined: Sun May 31, 2009 8:53 pm

Images not embedded when using html-editor

Post by johndoe »

My newsletter template uses agnIMAGE-Tags to include images.
These images are correctly embedded in offline html mails.

The newsletter itself is written by the marketing department, and they prefer the Fckeditor to insert content and images.

And there is the problem: these images (inserted by the html editor) are not embedded in the mailing, they are always loaded from the server.

Is there a workaround - besides inserting the images manually with agn-Tags?

Thx!
maschoff
Site Admin
Posts: 2597
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

Could you please post a brief example of the template/HTML code you use and which does not work as expected? Maybe we can suggest a modification.
OpenEMM Maintainer
johndoe
Posts: 2
Joined: Sun May 31, 2009 8:53 pm

Post by johndoe »

For testing reasons I use a very simple template, the only tag in the template is
[agnDYN name="testcontent"/]

The next step is to fill this "testcontent" with an image.

I tried the default "logo.jpg" and using the agnIMAGE-Tag works fine:
<img src="[agnIMAGE name="logo.jpg"]">
This way, the image is embedded in an offline html mail.


But when inserting the image via FCKEditor, it produces a source code like
<img src="http://myserver...&name=logo.jpg">
And this image is not embedded in an offline mail.

So the problems seems with FCKEditor, producing a "wrong" image tag for an offline mail. It should better produce an agn-Tag.

When you work with the source code and use the correct agn-Tag, it's ok, but the marketing dept. does not want to work with source code...

PS: It's OpenEMM 5.5.1
maschoff
Site Admin
Posts: 2597
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

You are right, it is basically a problem of the FCK editor (who's behaviour changes from version to version) destroying our tags. This topic is on our todo list - but not with a high priority, I have to admit.
OpenEMM Maintainer
Post Reply