Hi!
I have a problem with FCKeditor when sending the html generated as a newsletter (email) .
If I resize an image in fckeditor (by draging one of its corners with the mouse), it results in:
<img style="width: 56px; height: 74px" src="logo.jpg" />
unfortunately, the images style attribute is not read by Outlook 2007 and it shows the images to its original size.
Directly editing the image size within fckeditor (in the image properties pop-up) works, as the line becomes similar to:
<img height="56" width="74" src="logo.jpg" />
Is there a way for the resize with the mouse to put the width and height attributes out of the style and directly to the image?
Thanks you.
Wed, 11/05/2008 - 18:57
#1
Re: Problem with resize an image using corners
I'm using Joomla 1.5.7, FCKeditor 2.6.3, and the Core Design Image Revolution plugin that requires resized images to have the tag attributes of width and height. When it doesn't have those attributes, it doesn't work.
If I use the Image Properties dialog box, it works fine because it converts the inline styles back to tag attributes. But I really want to be able to use the handle dragging resize method.
The closest thing I found was in /plugins/editors/fckeditor/editors/js/fckeditorcode_gecko.js and fckeditorcode_ie.js. But it's very difficult to understand because it's compressed. I see things like RestoreStyles, if (B.Inline) A.setAttribute('style',B.Inline,0); I don't know if there's somewhere else that I'm supposed to change a configuration setting or something.
Any help?