Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I have the same Problem in IE7, IE8. It works fine in Opera/Firefox/Chrome. Found out that the button appears in IE when disabling jquery_update (newest dev).
I have the same problem with BuEditor on Opera 10.54 and Mozilla 3.6.4 and chrome too 5.0.375.70 .... i dont use IE so i dont know.
I moved from imce 6.x-13 to 14 which had some error too...
I noticed Views Rotator in a podcast and installed CCK, IMCE and IMCE Image to try this, but IMCE does not show the "Send to editor"-button when trying to add an image to my content type.
I had this problem but it turned out to be because of SSL. Secure pages was redirecting /admin* to https, but the IMCE interface exists at /imce. I just added imce* to the list of paths to be redirected in the secure pages settings and everything works perfectly. It was treating http and https as two different sessions, which of course they are.
Noticed after upgrade the common settings did not retain the previous field name for "Enable inline image/file insertion into plain textareas: ". After adding the field name, this issue was resolved for me.
Others may have tried this already; just adding the comment in case it helps.
I believe I'm having the same problem, but only when using a CCK IMCE Image field. My TinyMCE editor can insert an image without problems, but within the same node, my IMCEImage field don't have the "Insert File" button. IMCE 6.x-2.0-rc1, IMCEImage 6.x-1.0-beta2
3. At the end of the file, add
setInsertButton = function (win) {
win.imce.setSendTo(Drupal.t('Add image to @app', {'@app': Drupal.t('imceimage')}), imceImage.insert);
}
By sending "?app=myApp|imceload@setInsertButton" to "/imce", that calls setInsertButton after the window is opened. I'm not sure if that's the best way to do it, but it worked for me.
Please help me, because i tried suggestion #17 and nothing:(
I have these modules:
Drupal core 6.19
IMCE Wysiwyg bridge 6.x-1.1
Wysiwyg 6.x-2.1
IMCE 6.x-2.0-rc2
Same issue here. now running the latest 2.0-rc2. No ssl, no google analytics, no jquery-update... no buttons. Weird thing, it does not work on my production site or neighboring staging site, but does work on the version of site running on my dev local machine. The database is older. Tried only chrome and firefox.
The root cause of my issue is having Drupal for Facebook (fb) enabled. fb has a fb_preprocess_page function that adds its js to each page. For some reason, maybe on purpose, imce is not calling the preprocess functions. I ended up hacking the fb module to not add js to imce pages. Not sure it is correct, but it seems to be a workaround.
Hey, found a solution. As maddentim in #25 suggested, the problem was in the JS files. I have one custom js file attached, which failed when included into the IMCE upload page. I had to modify that, to aviod the error and the buttons are back, and functioning!
I too was experiencing this problem, but wasn't using SSL but found that IE was chocking. I found that if you did a quick check you seemed to be able to get things to work.
/modules/imce/js/imce_set_app.js
change:
for (var i in data) {
var arr = data[i].split('@');
arr.length > 1 && (appFields[arr[0]] = arr[1]);
}
to:
for (var i in data) {
if(!isNaN(i)){
var arr = data[i].split('@');
arr.length > 1 && (appFields[arr[0]] = arr[1]);
}
}
I have tested this in Firefox 3.6.12, IE 8.0.7600.16385, and Safari 5.0.2
I am sure this isn't more than a hack but am more than willing to look into a better solution if anyone has any ideas.
I'm running Drupal 7 and had the same issue. It turned out that upgrading the ckeditor module (and not imce) to 7.x-1.x-dev as of Jan 13th fixed the problem for me which existed in 7.x-1.0-rc1.
Subscribing. I have the same problem with the "Insert Image" button missing only when using the "Add Image from Imce CCK Image module, even when the standard textarea TinyMCE interface shows the button on the same page. Changes from #17 didn't help.
This thread comment has a solution in comment #10 I'm now using with success. Maintainers: Can this workaround be added to IMCE to solve the incompatibility somehow?
IMCE image is using a deprecated method of integration('imceOnLoad'). Use one of the integration methods mention in the readme.txt, which won't need patching any IMCE file.
IMCE image is using a deprecated method of integration('imceOnLoad'). Use one of the integration methods mention in the readme.txt, which won't need patching any IMCE file.
BELIEVE ME I would if I knew how. How about you take a look at Imce Image and roll the functionality into IMCE? ;-)
after upgrading 6x-1.3 to 6x-2.2,
I have the same problem with the "Insert Image" button missing only when using the "Add Image from Imce CCK Image module, even when the standard textarea Ckeditor interface shows the button on the same page.
I'm also missing the button while running the latest dev and not using SSL or the Secure Pages module... Any updates?
Also, this may be an issue involving the wysiwyg imce bridge module or the wyiswyg module because I am using those with Tinymce on this site but I'm using the same version of IMCE that people are seeing this issue with, on another client site running only CKEditor and IMCE modules without any issues.
IMCE Image fix from #17 worked perfectly. This should not have been necessary! I thought it was something I was doing until I searched online. Pretty glaring bug.
Comments
Comment #1
titicaca37 CreditAttribution: titicaca37 commentedHi,
I have the same Problem in IE7, IE8. It works fine in Opera/Firefox/Chrome. Found out that the button appears in IE when disabling jquery_update (newest dev).
Comment #2
hobo CreditAttribution: hobo commentedI'm having the same problem.. using fckeditor (latest stable) and imce 1.4 (not using wysiwyg)
Comment #3
Mario2 CreditAttribution: Mario2 commentedI have the same problem with BuEditor on Opera 10.54 and Mozilla 3.6.4 and chrome too 5.0.375.70 .... i dont use IE so i dont know.
I moved from imce 6.x-13 to 14 which had some error too...
Comment #4
simonoh CreditAttribution: simonoh commentedI have the same problem aswell.
I noticed Views Rotator in a podcast and installed CCK, IMCE and IMCE Image to try this, but IMCE does not show the "Send to editor"-button when trying to add an image to my content type.
Thanks,
Simon
Comment #5
comrax CreditAttribution: comrax commentedI'm having the same error 6.17 imce ver 2 on imce cck doesn't show up in firefox 3.6 or chrome
could it be a config issue?
Comment #6
tomfallowfield CreditAttribution: tomfallowfield commentedI had this problem but it turned out to be because of SSL. Secure pages was redirecting /admin* to https, but the IMCE interface exists at /imce. I just added imce* to the list of paths to be redirected in the secure pages settings and everything works perfectly. It was treating http and https as two different sessions, which of course they are.
Comment #7
kenwest CreditAttribution: kenwest commentedThanks, Tom.
Your fix solved the issue for me!
Comment #8
simonoh CreditAttribution: simonoh commentedI'm not using Secure Pages on my site, but I still have this problem. Should I start using it?
Comment #9
KathleenG CreditAttribution: KathleenG commentedI just wanted to chime in because I am having this issue as well. In Chrome and Firefox there is only a cancel button. It works fine in IE.
Comment #10
sher1 CreditAttribution: sher1 commentedAlso having this problem, although it is not displaying for any browsers
Comment #11
ufku CreditAttribution: ufku commentedComment #12
rodonnell CreditAttribution: rodonnell commentedSame issue - tried it in FireFox 3.6.6, IE 8 and Chrome 5.0, and the button was missing from all of them.
Comment #13
t-wheeler CreditAttribution: t-wheeler commentedNoticed after upgrade the common settings did not retain the previous field name for "Enable inline image/file insertion into plain textareas: ". After adding the field name, this issue was resolved for me.
Others may have tried this already; just adding the comment in case it helps.
Comment #14
loewenconsulting CreditAttribution: loewenconsulting commentedI believe I'm having the same problem, but only when using a CCK IMCE Image field. My TinyMCE editor can insert an image without problems, but within the same node, my IMCEImage field don't have the "Insert File" button. IMCE 6.x-2.0-rc1, IMCEImage 6.x-1.0-beta2
Comment #15
pal_ur CreditAttribution: pal_ur commentedSame problem, only in CCK IMCE Image Field.
Comment #16
igorski CreditAttribution: igorski commentedSame problem here with CCK IMCE Image Field and IE8.
There is no error message, but it seems like setSendTo is never being called.
Comment #17
nguyenbn CreditAttribution: nguyenbn commentedI found a quick fix...
Inside: modules/imceimage/imceimage.js
1. I commented out lines 13-15
---------------------------
// imceImage.pop['imceOnLoad'] = function (win) {
// win.imce.setSendTo(Drupal.t('Add image to @app', {'@app': Drupal.t('imceimage')}), imceImage.insert);
// }
2. Change line 12 from
imceImage.pop = window.open(url, '', 'width=760,height=560,resizable=1');
to
imceImage.pop = window.open(url + '?app=myApp|imceload@setInsertButton', '', 'width=760,height=560,resizable=1');
3. At the end of the file, add
setInsertButton = function (win) {
win.imce.setSendTo(Drupal.t('Add image to @app', {'@app': Drupal.t('imceimage')}), imceImage.insert);
}
By sending "?app=myApp|imceload@setInsertButton" to "/imce", that calls setInsertButton after the window is opened. I'm not sure if that's the best way to do it, but it worked for me.
Source: http://ufku.com/drupal/imce/api
Comment #18
sher1 CreditAttribution: sher1 commentedSuggestion in #17 worked for me. Had to clear the cache after making the changes
Comment #19
verta CreditAttribution: verta commentedIt WAS working and then stopped. We do not use https.
Will try #17, but have a question re #13 - what is the field name to enter?
Comment #20
saepl CreditAttribution: saepl commentedI had to add
user
imce
imce/*
to my list of pages on which to enable SSL Cert then it worked!
Comment #21
quotientix CreditAttribution: quotientix commentedI'm still having the problem in IE.
Any more ideas?
Comment #22
Mark0s81 CreditAttribution: Mark0s81 commentedsuggestion #17 work for me.
thanks.
Comment #23
laurenco CreditAttribution: laurenco commentedHallo,
Please help me, because i tried suggestion #17 and nothing:(
I have these modules:
Drupal core 6.19
IMCE Wysiwyg bridge 6.x-1.1
Wysiwyg 6.x-2.1
IMCE 6.x-2.0-rc2
Meybe there are other module like imce?
Comment #24
bibimo CreditAttribution: bibimo commentedHello,
I have the same module and problem that laurenco #23
How fix it?
Thanks
Comment #25
jasonabc CreditAttribution: jasonabc commented#6 solved this issue for me - thanks Tom!
Comment #26
wheelercreek CreditAttribution: wheelercreek commentedSame issue here, #17 did not work for me, and we're not using SSL. It works great in firefox but not in IE 7-8.
Comment #27
maddentim CreditAttribution: maddentim commentedSame issue here. now running the latest 2.0-rc2. No ssl, no google analytics, no jquery-update... no buttons. Weird thing, it does not work on my production site or neighboring staging site, but does work on the version of site running on my dev local machine. The database is older. Tried only chrome and firefox.
Comment #28
maddentim CreditAttribution: maddentim commentedThe root cause of my issue is having Drupal for Facebook (fb) enabled. fb has a fb_preprocess_page function that adds its js to each page. For some reason, maybe on purpose, imce is not calling the preprocess functions. I ended up hacking the fb module to not add js to imce pages. Not sure it is correct, but it seems to be a workaround.
Comment #29
lupus78 CreditAttribution: lupus78 commentedHey, found a solution. As maddentim in #25 suggested, the problem was in the JS files. I have one custom js file attached, which failed when included into the IMCE upload page. I had to modify that, to aviod the error and the buttons are back, and functioning!
Comment #30
maddentim CreditAttribution: maddentim commentedIf you want to see my hack to fb to workaround this issue see here: http://drupal.org/node/971756#comment-3773216
Comment #31
cjtemple CreditAttribution: cjtemple commentedI too was experiencing this problem, but wasn't using SSL but found that IE was chocking. I found that if you did a quick check you seemed to be able to get things to work.
/modules/imce/js/imce_set_app.js
I have tested this in Firefox 3.6.12, IE 8.0.7600.16385, and Safari 5.0.2
I am sure this isn't more than a hack but am more than willing to look into a better solution if anyone has any ideas.
Comment #32
maddentim CreditAttribution: maddentim commentedLooks like Dave Cohen committed a patch to the dev to fix this issue with needing to hack imce. See the patch here: http://drupal.org/node/981304#comment-3799042
Should be in the next RC if you don't want to do the patch manually...
Comment #33
NancyDruI can confirm that the DFF -dev version fixes this problem - at least on my sites.
Comment #34
cpo CreditAttribution: cpo commentedsame problem (No button to send image file to my editor (ckeditor) for all users (user-1,.....). ) with 6.x-2.0-rc2
and firefox 3.6 or IE 7.0
Comment #35
NancyDruIf you are using Drupal for Facebook, see #32 and #33. There is no further value to "me too."
Comment #36
cpo CreditAttribution: cpo commentedI don't use drupal for facebook. I reply to first message #1
Comment #37
NancyDruComment #38
Ronino CreditAttribution: Ronino commentedI'm running Drupal 7 and had the same issue. It turned out that upgrading the ckeditor module (and not imce) to 7.x-1.x-dev as of Jan 13th fixed the problem for me which existed in 7.x-1.0-rc1.
Comment #39
Ronino CreditAttribution: Ronino commentedLOL, while I was testing ckeditor-7.x-1.x-dev and writing #38, 7.x-1.0 was released which - of course - also fixes the issue for me ;-).
Comment #40
bramick CreditAttribution: bramick commentedI was this issue in IE 7/8 and corrected it when I upgraded to 6.x-2.1
Comment #41
mtunay CreditAttribution: mtunay commentedsuggestion #6 was the solution for me..... THANKS!!!!!
:)
Comment #42
gregarios CreditAttribution: gregarios commentedSubscribing. I have the same problem with the "Insert Image" button missing only when using the "Add Image from Imce CCK Image module, even when the standard textarea TinyMCE interface shows the button on the same page. Changes from #17 didn't help.
Comment #43
gregarios CreditAttribution: gregarios commentedThis thread comment has a solution in comment #10 I'm now using with success. Maintainers: Can this workaround be added to IMCE to solve the incompatibility somehow?
Comment #44
ufku CreditAttribution: ufku commentedIMCE image is using a deprecated method of integration('imceOnLoad'). Use one of the integration methods mention in the readme.txt, which won't need patching any IMCE file.
Also note that, this thread is about ckeditor.
Comment #45
gregarios CreditAttribution: gregarios commentedBELIEVE ME I would if I knew how. How about you take a look at Imce Image and roll the functionality into IMCE? ;-)
Sorry if the thread is wrong.
Comment #46
cpo CreditAttribution: cpo commentedafter upgrading 6x-1.3 to 6x-2.2,
I have the same problem with the "Insert Image" button missing only when using the "Add Image from Imce CCK Image module, even when the standard textarea Ckeditor interface shows the button on the same page.
Comment #47
curt2199 CreditAttribution: curt2199 commentedI'm also missing the button while running the latest dev and not using SSL or the Secure Pages module... Any updates?
Also, this may be an issue involving the wysiwyg imce bridge module or the wyiswyg module because I am using those with Tinymce on this site but I'm using the same version of IMCE that people are seeing this issue with, on another client site running only CKEditor and IMCE modules without any issues.
Comment #48
mthomas CreditAttribution: mthomas commentedI'm missing this button when using the 6.x-2.3 and dev versions of IMCE. I'm not using secure pages. I'm using Bueditor.
I downgraded 6.x-1.4 to fix.
Comment #49
revnoah CreditAttribution: revnoah commentedIMCE Image fix from #17 worked perfectly. This should not have been necessary! I thought it was something I was doing until I searched online. Pretty glaring bug.
Comment #50
ufku CreditAttribution: ufku commentedThis is not IMCE Image queue and reported issue is not related to it.
Comment #51
mthomas CreditAttribution: mthomas commentedI have this problem with BuEditor and IMCE 6.x.2.3. Subscribing.
Comment #52
thallesIt seems that this has many solutions.
Comment #53
thallesComment #54
thalles