I'm using Image Assist with WYSIWYG Module and TinyMCE.

When I click the icon to add an image, and then click upload image, most of the time but not always, the form to upload does not appear when I'm using the Safari Browser. I see scroll bars and but the window is just background. I had the same problem with 6.x-2.0-alpha3 and with different theme on a different site.

If I retry several times by closing the window and clicking the icon again, eventually it will load and be visible.

Seems to work OK with Firefox.

Sorry I don't have any other details, but thought others might be experiencing the same thing or have ideas as to what I might look for to test.

Thanks,
Steve

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Anonymous’s picture

I have the same problem: Image Assist with WYSIWYG Module and TinyMCE, updated to the latest (stable) versions. Didn't work in Safari 3.x, doesn't work in Safari 4.x either.

wickwood’s picture

Glad I'm not alone! I'm using Safari 4.x now, but had the same problem in 3.x too. Also using latest stable versions of WYSIWG and Image Assist. I have a problem with getting WYSWIG to recognize latest version of TinyMCE, too. See http://drupal.org/node/504556

epiphanydigital’s picture

Ditto. Using 6.x-alpha3 and Safari 4.x with FCKeditor. No upload form. Tried updating to alpha4 and can't get an upload form in Firefox now either. Reverted to alpha3.

Steven Jones’s picture

We are also seeing this issue, but not on local development sites. We can only reproduce the bug when the site is living on a remote (thus slower) network. Could the slightly crazy loading of CSS by javascript be the issue here?

ggevalt’s picture

We are using the Image Assist 6.x-2.0 alpha4 and we are having the same issue with Image Assist in Safari. It's just a blank page when the popup appears. The module works fine in Internet Explorer and Firefox.
Would really love to have some help with this. Some of the schools we work with use Safari....

FYI, this issue seems to have been raised a couple of times with earlier versions of Safari with no apparent resolution.
Also, we are using Image Assist with Image in FCKEditor.

Anyone have any thoughts?

Thanks

geoff

Steven Jones’s picture

Version: 6.x-3.x-dev » 6.x-2.x-dev
Status: Active » Needs review
FileSize
3.65 KB

The issue here seems to be that the loading of the CSS via document.write fails badly in safari, infact after much investigation it would seem that you can't load any CSS in that way in Safari, even if you create a DOM node and add it to the section.

However, good news! Safari will load the CSS and not completely die if the code to add the CSS is in a setTimeout call, even if the timeout is just 1ms!

Also, happily the offending code is in a theme function, so those of you who need an urgent fix can get one!

Find attached a theme function, pop it in your template.php and rename the 'theme' in the function to the name of your theme. Then theme rebuild and your img_assist should work in Safari!

Steven Jones’s picture

Status: Needs review » Needs work

Rubbish!

This 'fix' actually crashes IE6 and IE8 gives some errors.

Steven Jones’s picture

Status: Needs work » Needs review
FileSize
3.62 KB

Wow, IE really doesn't like setting the href property of a link tag.

Fixed version attached.

Anonymous’s picture

Sorry if I'm a bit the dummy user here, but I can't find any file in img_assist containing the function to be replaced by your fix. A small hint would be appreciated. :)

edit: Ah - the problem seems to be gone in version 3.x/dev. Works fine now, even in Safari. Hooray! :)

extect’s picture

I have the same problem in 6.x-3.x-dev, but it looks like this has been introduced with one of the latest TinyMCE-Versions, which I had to install to fix another problem. The fix in #8 also fixes the problem 3.x-dev. Thank you!

sun’s picture

Status: Needs review » Closed (duplicate)

I might be mistaken, but this sounds like a duplicate of #541354: Blank Popup Window but Memory is 99M and No WYSIWIG

Feel free to re-open this issue if I'm mistaken.

vrc3’s picture

Version: 6.x-2.x-dev » 6.x-3.x-dev

I'm also having this problem in chrome.

gjerdery’s picture

Status: Closed (duplicate) » Active

I'm not sure that this is a duplicate. #541354: Blank Popup Window but Memory is 99M and No WYSIWIG refers to a completely blank popup occurring in all browsers. OP's report is that the popup initially appears, allows selection of file already in the gallery, but shows a blank on the bottom portion of the screen once the "upload" button is clicked. And this only doesn't work on Mac webkit browsers. Firefox is ok.

Safari error console lists: Failed to load resource: the server responded with a status of 404 (Not Found) /sites/all/themes/zen/style.css