I've discovered a strange bug between WYSIWYG/IE8, wondering if anyone else encounters it as well.

Basically, when using IE8, inserting an image with WYSIWYG Image Upload results in a "broken image" symbol, unless you manually assign a style to that image while uploading.

That being said - if you just ignore the broken image symbol and save the node the image appears fine. Even stranger, if you disable the rich text editor and re-enable it after uploading the image also appears fine.

While this could be a bug in WYSIWYG module, I've confirmed this bug affects CKEditor, FCKEditor, & TinyMCE, and as mentioned assigning a style to the image seems to fix the problem.

Maybe the fix is just assigning a blank style="" tag to the image if no style is selected?

Comments

newmediaist’s picture

Ok, a "hacky" fix was to add a new style in the wysiwyg_image_upload admin control panel called "default", and then
comment out line 153 of "wysiwyg_image_upload.form.inc" - that way by default every image has a style associated with it,
and therefore shows up properly in IE8 - not the best fix though...

EDIT: Scratch that, still getting the "X"'s instead of images sometimes in IE8...

eugenmayer’s picture

Status: Active » Fixed
newmediaist’s picture

Just want to make sure you're aware we're talking about 1.9 here, not 2.x - the bug referenced above appears to be a different error.

eugenmayer’s picture

Status: Fixed » Active

Well eventhough i was aware of 1.10, it is not a dublicte, iam sorry

eugenmayer’s picture

Status: Active » Fixed

I added style="" to the output. Lets see if this works out for all. Release in 6.2.0-beta4

golfwolf’s picture

Version: 6.x-1.9 » 6.x-2.0-beta4
Status: Fixed » Active

Upgrading to 6.2 beta 4 didn't solve the problem for me.

eugenmayer’s picture

Do you also have upgraded jquery_ui_dialog to 1.7 ?

golfwolf’s picture

Status: Active » Fixed

After Upgrading jquery_ui_dialog to 1.7 the problem in IE8 is fixed.
It also seems to fix the problem in 6.x-1.10. But I have to doublecheck.

In IE 7 the problem remains for 6.x-1.10. In 6.x-2.0-beta 4 the button for image upload disappeared in TinyMCE for the IE 7.

eugenmayer’s picture

Great, thanks for reporting back. Please open new issues for the other ones

eugenmayer’s picture

Status: Fixed » Closed (fixed)