Closed (fixed)
Project:
Image Picker
Version:
6.x-1.2
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
24 Jun 2008 at 03:42 UTC
Updated:
25 Jun 2009 at 22:10 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
hutch commentedThe same trick works with Tinymce. If you remove the 'add an image' widget from Tinymce the code can be added without disabling rich text, perhaps there is a setting in FCK Editor that is preventing things.
Comment #2
vladsavitsky commentedTurn off/on WYSIWYG-editor isn't good solution.
Module should integrate with FCKeditor and TinyMCE.
Comment #3
hutch commentedImagepicker works with tinyMCE, there is code to identify the id of the body element (mce_editor_0).
If someone familiar with FCKEditor can figure out that id I can add code to tell the imagepicker javascript where to insert the string.
Comment #4
chrisschaub commentedThe doc for the FCKEditor js api is here:
http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/JavaScript_API
You can probably inset html in FCKEditor using method outlined here, comment #1 ...
http://drupal.org/node/213679#comment-706291
Comment #5
hutch commentedThanks for the tip, I will investigate further when I can find the time ;-)
Comment #6
hutch commentedAttached are two patches for D5 and D6. Both are on the development versions.
Both use FCKeditor_2.6.3
I have not tested the D5 version yet but it should work.
Comment #7
hutch commentedI found a bug in the previous two patches, here is an improved version.
In the old patches imagepicker would not function properly when FCKeditor was removed.
Comment #8
stephanvaningen commentedNice, works perfectly for me (tested with imagepicker 6.x-1.2 and FCKEditor 6.x-1.3-rc3)
Comment #9
hutch commentedI just tested it with the wysiwyg module which works with tinymce but not with fckeditor. The fckeditor module does work. I have an idea why but I will need to mess around a bit to find out
Comment #10
jadelrab commentedsubscribing
Comment #11
hutch commentedThe attached patch replaces all previous patches in this thread. It will apply to 6.x-1.2 or 6.x-dev. Please test and report back.
It enables the use of imagepicker in conjunction with the fckeditor module
The wysiwyg module works with tinymce and imagepicker, but the fckeditor when installed within the wysiwyg module does not work with imagepicker. I note that on the wysiwyg module page, http://drupal.org/project/wysiwyg there is a note suggesting the fckeditor is not yet fully integrated so I guess it is a case of wait and see how it goes.
Comment #12
Grayside commentedI have fckeditor set up to toggle between the wysiwyg and the regular text area. Furthermore, my personal default starts without the wysigwyg. The button to insert the image does not work until after I've toggled on FCKeditor then back to text markup.
Comment #13
Anonymous (not verified) commentedPatch #11 works for me on drupal 6:10, imagepicker 6.x.1.dev and fckeditor 6.x-1.r-rc7 and using the added tags to filtered html
Thanks!
Comment #14
mhreynolds commentedpatch does not work for me on drupal 6.9, fckeditor 6.x-2.beta1, image picker 6.x-1.4
Comment #15
Grayside commentedThis no longer seems to work for me. FCKeditor 6.x-1.3.
If WYSIWYG support is a big deal, I suggest looking at supporting the Wysiwyg API. Given the purpose of this module, I'd say this is almost a critical feature, as the simplified image interface dovetails perfectly with the concept of a Wysiwyg.
Comment #16
hutch commentedThe issue for me is not wether to support wysiwyg but *how* to make it work.
I have spent many hours trying various things but it has proven very tenuous and slippery.
Comment #17
mecvo1984 commentedDitto, the FCKeditor patch works here on an IIS installation. Kudos to you for this, I've tried at least 5 image uploading modules today and this one is the best for what I need....
Read all the docs on FCKeditor image quick uploads but could not get rid of broken icons no matter what I think bc each time a file was uploaded via FCK upload (which worked fine), an .htaccess file would be written to the upload directory and IIS could not display. Anyone else seen this?
At any rate, Image Picker module w/ FCK patch works for me on IIS 6 Win 2003, latest Drupal.
Thanks!
Comment #18
hutch commentedFckeditor and the routine that imagepicker deploys are both javascript and how they interact depends on the OS and browser of the client machine using the site. What I need to know is which browsers it works in and on what OS the client is running.
By the way, which module did you install Fckeditor with and which version of Fckeditor?
As far as I can see the .htaccess file is created by drupal and contains nothing that should stop anything being accessed by apache. You may have to remove it for IIS. Have a look around drupal.org, my bet is others have experienced this.
Imagepicker itself does not create .htaccess files.
Comment #19
hutch commentedI have applied a fix for fckeditor to imagepicker-6.x-2.x-dev. It works with module fckeditor-6.x-1.3 but *not* with the 2.x-dev version of fckeditor for some reason.
The code change is in function imagepicker_js and is pretty simple so anyone wanting to fix an earlier version can easily do so, just look for 'fckeditor' in that function.
Comment #20
hutch commentedHere is a patch on the latest 2.x-dev version of imagepicker. It improves the pickup of fckeditor as used in fckeditor-6.x-1.3 module and now adds support for the wysiwyg module, with fckeditor and tinymce installed therein.
Please test this if you can
Comment #21
hutch commentedThe wysiwyg patch has been incorporated into the current 2.x series