There is no link or button to add the uploaded image to the form. Clicking on the image does nothing but show it in a new window.

Comments

pineappleclock’s picture

Category: bug » support
Priority: Normal » Critical
robbt’s picture

Yes, same problem here. It doesn't want to let me actually add the image, so this module is non-functional as far as I can tell.

robbt’s picture

Yeah I think this is related to imce and not specifically imce cck as even using fckeditor there is no way to pass it back.
I reported it as a bug here http://drupal.org/node/274976 .

stinky’s picture

StatusFileSize
new19.19 KB

Same problem here. Attached is a screen shot. I can see the files, but there's no way to actually select the file I want to include in the imce cck field.

cybernomad’s picture

Priority: Critical » Normal
StatusFileSize
new135.56 KB
new99.9 KB

I encounter the same problems. If I disable the stylesheet all the missing buttons and fields are there, however they do not work , my AdminTheme is 'pixture'.

Thanx for any input

panis’s picture

what version of imce and browse and OS?

jvinci’s picture

StatusFileSize
new51.66 KB

I'm experiencing a similar problem. I use Windows XP and tried upgrading to the latest version of Firefox to no avail.

I will say that it was working when I first installed it. I can't remember all I've done that might have put it out of whack.

Attached is a screenshot of the window along with information on what's happening in the code

panis’s picture

what theme? farbtastic.js is the color picker for drupal themes. Looks like it breaks on the imce browser window halting all javascript on it.

jvinci’s picture

I just tested the following themes and got the same result for each:

Minelli
Zen
Zen Classic
Zen Themer’s Starter Kit
Garland
Pushbutton

-Anti-’s picture

> Yeah I think this is related to imce and not specifically imce cck as even
> using fckeditor there is no way to pass it back.

I agree.
I'm going to do a clean install today to see if it is an imce issue with browsers,
rather than caused by tinymce, fckeditor or imce-ckk-image.

EDIT:
After a clean install, the issue prevailed:
The 'send to...' link disappears completely in Opera 9.5.
The 'send to...' disappears in FF if you refresh the imce browsing window.

Additional symptoms are:
· clicking the image opens it in a new window in opera rather than sending to the text area
· all files are highlighted when the imce browser window loads in opera
· the imce tab doesn't close in FF after selecting and clicking a file, but it is sent to the text area

This seems to be an imce issue with the web browsers.

arhak’s picture

subscribing

ssm2017 Binder’s picture

hello
im confirming :
no button in opera
button dissapears when refreshing page on :
ff3
chrome
msie 6

wmnnd’s picture

I do experience this problem, too but strangely it doesn't occur always - but frequency has increased recently.

neochief’s picture

See this comment for the reason of "Send to.." bug

HeinzS’s picture

Problem solved.
See this simple workaround

elijah lynn’s picture

EDIT:
After a clean install, the issue prevailed:
The 'send to...' link disappears completely in Opera 9.5.
The 'send to...' disappears in FF if you refresh the imce browsing window.

Verified on a Mac with Firefox 3.0.12 and Opera 9.64.

donquixote’s picture

The reason is how imceimage.js adds the link to the the popup window.

imceImage.open = function (url, field) {
   imceImage.target = field;
   imceImage.pop = window.open(url, '', 'width=760,height=560,resizable=1');
   imceImage.pop['imceOnLoad'] = function (win) {
      win.imce.setSendTo(Drupal.t('Add image to @app', {'@app': Drupal.t('imceimage')}), imceImage.insert);
   }
   imceImage.pop.focus();
}

In Opera (and maybe some other browsers too) the event that would trigger imceOnLoad fires at a time when the value of imceIMage.pop['imceOnLoad'] is empty. I don't know why, but that's what happens.

One solution for that is polling: Instead of waiting for an event to fire, we use setInterval to repeatedly ask the window if it's ready, and when it is, call setSendTo().

(patch to follow)

donquixote’s picture

StatusFileSize
new921 bytes

And here is the patch!

The only problem is that now the button appears in the wrong place - it's now the first button, instead of the last. No idea why that happens.

panis’s picture

working on patch to fix this - better option is perhaps to use the upgraded imce integration interface. Will post tomorrow.