I have been through five different setups and three long days trying to get some kind of a wysiwyg editor with image upload capability that actually works, installed on a drupal site (5.11).

I have tried wysiwyg module + tiny mce + imce, tinymce module + imce, tinytinymce module + imce (this one shows the browse button but it does nothing when you click on it, the browse button for URL's doesn't work either), tmce module + tinymce + imce, and htmlarea (this one looks like it might have worked if I properly specified an upload folder and gave it write permission, but I didn't want to use it for other reasons). About the only one I haven't tried yet is image-assist module.

I have clicked on practically every link in drupal trying to find the magic setting that would make one of these systems work, and I have spent many hours searching for a solution, and tried a couple of patches that didn't help. Can someone point me to a magic setting, or offer some advice? Am I missing something fundamental?

Comments

glennr’s picture

It takes a bit of time to configure, but I've found it works pretty well with IMCE.

m3avrck’s picture

eriktoyra’s picture

So far I have not found a single image upload module that works with TinyMCE that can I say "great, let's use it!" about. Subscribing to this post.

Edit: Just found out about the YUI Editor. This seems to be a very interesting WYSIWYG-editor from Yahoo! The image upload function works out of the box as it seems. Have a look at the following links:

http://drupal.org/project/yui_editor
http://www.nicklewis.org/drupal-hackers-cookbook/module-guide/wysiwyg-ed...
http://developer.yahoo.com/yui/editor/

Nick Lewis’s picture

I'll point out that now having had to live with YUI, I can say: you'll love it til you start pasting word documents into it. :-O
--
"I'm not concerned about all hell breaking loose, but that a PART of hell will break loose... it'll be much harder to detect." - George Carlin
--
Personal: http://www.nicklewis.org

--
"I'm not concerned about all hell breaking loose, but that a PART of hell will break loose... it'll be much harder to detect." - George Carlin
--
Personal: http://www.nicklewis.org
Work: http://www.zivtech.com

eriktoyra’s picture

I have come to the conclusion that YUI Editor shipped with YUI 2.5.2 is far from stable when it comes to as simple stuff as ordinary editing. You can't force the editor to use

instead of
for new paragraphs with the setting "ptags: true". This creates a bunch of bugs in various browsers. Read more about it at [ 2152230 ] [#2266578] using ptags option only works in IE.

Lists tend to be very buggy also. Particulary when using the "autoHeight: true" setting to adjust the editor height automaticly. I have reported some bugs to the YUI development team at Sourceforge. Many others have experienced the same problems that I have reported.

I would say that YUI Editor is very promising, but at the current status it is far from stable enough to be used in production.

gavacho’s picture

Here is an update:

The next thing I tried was image-assist module + tinymce. The upload icon was present and worked great, unfortunately, there was no editor.

I didn't like the dependence of YUI on Yahoo, so finally I tried fckeditor. I followed all the installation instructions in the readme, but I still got a permission denied error when I tried to upload.

What made it work was to manually edit
FCKeditor/editor/filemanager/connectors/php/config.php and set this line to "true":

$Config['Enabled'] = true ;

Hallelujah! I finally have a wysiwyg editor that can actually upload images!

Thanks for the responses.

-Anti-’s picture

> Hallelujah! I finally have a wysiwyg editor that can actually upload images!

I spent about six hours a day for three weeks researching easy rich-media content.
My final set-up will be:

fckeditor
IMCE
jquerymedia
a filter for adding streamed content from sites like YT
lightbox2

Whilst all this is still 'not quite there yet', in terms of 2008 technology it is quite respectable
for a CMS to provide this level of media usage.

wwalc’s picture

Please note that by setting

$Config['Enabled'] = true ;

you're not protected and anyone can upload files, I do not recommend this.

I'd really like to reduce the number of necessary steps to enable the built-in file browser, but it's impossible to remove some of them. Anyway I'll try to simplify it a bit in 6.x-2.x.

Remember that you can always try to get some help if you visit FCKeditor project site and click on a support request link. I can't promise I'll answer ASAP, but at least I'll get some feedback and have some better overview of the most common problems. If it will not be possible to make it easier, I'll try at least to write a better documentation based on reported problems.

Wiktor Walc
http://www.fckeditor.net
"Support Open Source Software"

Wiktor Walc
http://ckeditor.com
"Support Open Source Software"

skwashd’s picture

I have just finished working on integrating YUI Editor and IMCE. With the YUIE plugin I have written you can now use IMCE from within YUI Editor - see YUI Editor + IMCE for Drupal 6 for more info.

Dave Hall Consulting
Open Source Business Solutions

cincy_kid’s picture

thats great for 6.x users but what about us 5.x folk! :)

I have been in the same situation looking for a good solution to this and have tried all of them except for FCKEditor + IMCE which I think I will give a try now. YUI Editor aesthetics looks awesome but the problem I am having is when I upload an image it shows up in my text area just fine. But after I submit it, in the post itself there is no image :(

Lets see if I have any better luck with FCK + IMCE

skwashd’s picture

> thats great for 6.x users but what about us 5.x folk! :)

Upgrade to D6. Drupal 7 is coming and D5 is dying. There is heaps of nice stuff in Drupal 6 and more coming in 7. Ease the transition to 7 and do it in steps.

Dave Hall Consulting
Open Source Business Solutions

cincy_kid’s picture

way too many modules not ported to 6 yet to switch from 5. Especially Ubercart and some other important ones I need currently.

stephtek’s picture

Your plugin doesn't work on Drupal 6.5 unfortunately :(

skwashd’s picture

I just tested it again with D6.5 and 6.6 and it is working fine. Please clarify what you mean by "doesn't work". There are quite a few dependencies to make the plugin work, maybe you are missing one of them. Also from what I have read the plugin support in YUI Editor 6.x-2.31 was broken.

Dave Hall Consulting
Open Source Business Solutions

stephtek’s picture

Before installing this plugin I still could see the image button in YUI editor. Now since installing it has dissapeared and there is no image at all.

What might I be missing?

Tamanda’s picture

I managed to get it working, and it was working perfectly... after enabling other modules e.g.SWFTools, video module etc, (I've uploaded quite a few since) it stopped uploading images.

I'm using Drupal 6.14, my external library is YUI library 2.5.0, yui_editor-6.x-2.33, yui-6.x-1.1-rc2 and IMCE.

I really need your help as the editor was working perfectly and now it just will not upload any images, the browse image button is also gone and so is the upload button.

Please can someone help me?

Thanks in advance for such a great module.

eugenmayer’s picture

There is a new solution http://drupal.org/project/wysiwyg_imageupload which works with CKeditor, FCkeditor, TinyMCE and all supported editors from the WYSIWYG module api.

It includes an image browser and is designed to be fast, effective and very easy to use. It integrates with imagecache presets, designs and float settings and is also very fast for larger sites in the 6–1-0 branch.

There is a screencast here : http://www.youtube.com/watch?v=LEKpvI1G8qE

Have a look :)