Image Assist shows placeholder instead of image when editing
| Project: | FCKeditor - WYSIWYG HTML editor |
| Version: | 6.x-2.0-beta1 |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
I'm using FCKeditor module 6.x-2.0-beta1 and Image Assist 6.x-2.0-alpha3. I have copied img_assist_fckeditor.js into the img_assist directory.
It all works as I expetced, except that the FCKeditor editing area shows placeholders (obtained from /modules/fckeditor/fckeditor/editor/images/spacer.gif) instead of the actual images. When viewing the edited page, the images are correctly shown. I have searched extensively for references to this problem without success - is it correct behaviour? Is it a bug? Or have I missed some configuration detail?
I have tried using FCKeditor with the Wysiwyg API module instead of with FCKeditor module, and found that Wysiwyg shows images correctly in the editing area, so obviously it can be done. However, I have other problems with Wysiwyg API (the Image Assist button does not work, and the toolbar does not wrap around when it has many buttons). FCKeditor module is at least usable, but I do wish it would show the images when editing.

#1
I am having the very same problem and would love to know if there is a solution to it.
I am rather sure that this is not by default since it used to work until recently. No idea what exactly I have changed but suddenly the edit screen started showing this placeholder only.
#2
Thanks for that comment - the first confirmation I've had that it is supposed to show the images. It never has for me, even when building a Drupal site from scratch purely to test it. If your images come back, please let me know what you did!
#3
I have to add though that it has only worked with a 3.x dev release on a test site some weeks ago. I have never managed to get rid of the placeholder with the 2.0 alpha release of image assist (in fact this was the reason why I had tried out 3.x in first place). Not sure if something has changed in either of the modules or the "way I installed" them. But it is not working anymore. Anyway, it seems that we are the only ones with this problem, judging by the search results :(
#4
You are probably using Insert mode : Filter Tag, which FCKEditor does not understand...
Using HTML Code will make FCKEditor happy, but you loose reference to image's node :(
#5
gifad - could you explain what you mean by "Insert mode : Filter tag"? Are you talking about Input Formats? Something else?
#6
See the attached screenshot for what he means. I completely forgot about this. If you chose html, the preview is going to work just fine. You can make this insert mode default in the settings as well.
Apart from the downside of losing reference to the node it breaks the caption option in edit mode so for me that is not really an option :(
#7
Hah! Now I see! Thanks for that. Yes, you may as well use something simpler, like IMCE, if you don't want the node link. It remains the case that it is technically possible to generate the image into the FCKeditor editing area from an Image Assist tag - Wysiwyg API manages to do it, although as I said in my original post, it has other problems.
I'm not sure what you mean by "breaks the caption option" - ?
#8
Closed because of inactivity.