Hi,

I noticed that when using IMCE File Field there is no button in the file browser to insert the image. When using the ckeditor I have a button to insert the image into the content field.
When using the ckeditor the following buttons are visible in the file browser window:
Upload, Delete, Resize, Insert File

When I try to insert a file using IMCE File Field the "Insert File" button is missing. Clicking on the image opens the image in a new window.

I'm using
IMCE 6.x-2.1
IMCE Wysiwyg API bridge 6.x-1.1
Wysiwyg 6.x-2.3

Any ideas?
Thanks
cat

Comments

cfox612’s picture

for the WYSIWYG profile did you check the box "IMCE" under "Buttons and Plugins"?

richieitchy’s picture

Not sure if this is the same issue.

I have created a CCK image field type within a content type to insert an image, and after updating to the latest beta version , I noticed the 'add image to imceimage' button had disappeared, when I went to add an image.

I reverted the imceimage version back to the 6.x-1.x-dev, and after updating the database, the file browser window now shows the 'send to imceimage' button.

Also I noticed when the button is missing the file browser url was domainname/imce
After the roll back the file browser url was domainname/imce?app=nomatter|imceload@imceImageImceLoad.

Hope this helps (if this is your issue).

bezu60’s picture

I don't see a Wysiwyg button called IMCE. Having the same issue. It worked fine for a year or more. I think we just updated the module.

ryantdecker’s picture

I've had this problem (missing 'insert' option when browsing IMCE; clicking image leads it to open it in a new tab instead of inserting). Well, I tried updating modules, reverting to older versions of modules on a site where IMCE/CK/WYSIWYG combo was working, and had no luck...then I did what I should have done first and walked back through changes that had happened back when the button first disappeared...turns out, I had installed Secure Pages after installing my SSL Cert and setting it up at my host, and my node/add and node/*/edit pages were using 'https'. When I removed those pages from the secure pages module, the Insert button reappeared instantly and works like a charm again. Don't know if this is an issue within secure pages, which seems unlikely, or just a conflict with the scripts in IMCE when using a secure connection. Anyway, given all the threads asking how to get the Insert button to appear, I'm betting I'm not the only one dealing with the conflict. Hope this saves somebody the hours I spent to stumble on it!

Ryan

cinejeff’s picture

THANK YOU Ryan!

markeparsons’s picture

Saved me hours. Much appreciated

mustafa.ata’s picture

I also faced this issue. I solved this issue by adding 'imce*' in the listing of 'ignore pages' in Secure Pages module. This 'imce' was actually in the url of the popup window which opens on adding file or image in your ck-editor from the server. After adding 'imce*' in the ignore pages list, insert your desired image on your desired page. It will work now.

Secondly, the thing which Ryan mentioned has a drawback. i.e. if we remove a url from https, it is no more secure now, so it is better to work on my suggested solution because you will access that popup window of secured node if and only if you are authenticated or legal person.

I hope this will sort things out.

Thanks

frozenrey’s picture

That was it! THANK YOU

mustafa.ata’s picture

You welcome :)

agileadam’s picture

This worked for me as well! Thanks :D

curt2199’s picture

Hey Guys,

I'm having the same exact problem except I'm not using the Secure Pages module and am not using SSL anywhere on the site.

Any ideas? I've tried using older releases of IMCE and it hasn't made a difference.

Curtis

Cyberflyer’s picture

I am running Drupal core 6.22.

IMCE 6.x-2.2
IMCE Crop 6.x-1.1
MCE Kama Style 6.x-1.0-beta4
IMCE Mkdir 6.x-1.1
IMCE Rename 6.x-1.2

IMCE Wysiwyg bridge 6.x-1.1

Wysiwyg 6.x-2.4
Wysiwyg API template plugin 6.x-2.6

Theme is based on Clean 6.x-2.0-beta3

User profile is set up to use CKEditor 3.6.2.7275

Relevant modules that might affect things are:

Devel 6.x-1.26
Javascript Tools 6.x-1.0
jQuery Update 6.x-2.0-alpha1

Status report shows I am running:
jQuery UI 1.6
jQuery Update 1.3.2

With all of that having been said, when I click on the add photo icon, I get a dialog box that shows a bunch of image info and a 'Browse Server' Button.

Clicking on that and I am in IMCE, except the only button that shows is 'Upload'. No tools to crop, resize, rename or use selected image.

Further, the image area below the file browser is not showing the full image, only about 500 pixels vertically.

I have Dev tools on and it is showing the execution time and memory usage.

This behavior is identical in Firefox 7, Safari 5.1 and Google Chrome 14.0.835.186 on Mac OS 10.6.8, Snow Leopard.

Never Know When to Quit.

Cyberflyer’s picture

Turns out there is a potential for conflict between IMCE and a lot of themes, among them Clean, Energetic, Acrylic, Zen, Artisteer, Jaded and RootCandy which results in IMCE feature failure, typically--but not limited to--the buttons not appearing at the top of the file browser page.

This is because the file browser inherits the theme's javascript and various issues result, such as name-space collision, missing regions and the like. The hard solution is to go in and deduce the specifics and change your page.tpl files to weed out the conflicts or hack at IMCE.

The easy and generally useful solution is to install ThemeKey and create one rule that forces all pages where drupal:path = imce to use the Garland theme. That simply solves everything, since IMCE works in Garland but has no real theme to it. This post hopes to tie several related threads together to save the next guy time.

http://drupal.org/node/584952#comment-2149802

http://drupal.org/node/406844#comment-3225060

Never Know When to Quit.

marcoscano’s picture

Thanks, same problem here and the themekey module with drupal:path = imce (garland) solved the issue for me