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
Comment #1
newmediaist commentedOk, 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...
Comment #2
eugenmayer commenteddublicate of http://drupal.org/comment/reply/815532
Comment #3
newmediaist commentedJust 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.
Comment #4
eugenmayer commentedWell eventhough i was aware of 1.10, it is not a dublicte, iam sorry
Comment #5
eugenmayer commentedI added style="" to the output. Lets see if this works out for all. Release in 6.2.0-beta4
Comment #6
golfwolf commentedUpgrading to 6.2 beta 4 didn't solve the problem for me.
Comment #7
eugenmayer commentedDo you also have upgraded jquery_ui_dialog to 1.7 ?
Comment #8
golfwolf commentedAfter 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.
Comment #9
eugenmayer commentedGreat, thanks for reporting back. Please open new issues for the other ones
Comment #10
eugenmayer commented