Hi!

I've installed the CKEditor and the IMCE modules for me (as admin) to be able to upload and place images within pages and posts.

This works perfectly! I am able to do just that... however the image wont display frontend. It's replaced by a nonebreaking space..? If I edit the post the image is still displayed in the editor.

I've been googlin' for a few days now and i cant find anything on the issue.

Side note: I am completely new to drupal :)

Thanks!

Comments

logicexpertise’s picture

It appears the image is being prevented from displaying by the input format - the Only local images are allowed. tag is not one of those allowed by the default Filtered HTML input format. The solution is either to edit that format to allow the Only local images are allowed. tag - in admin/settings/filters - or use the Full HTML format with your post.

dolleris’s picture

Thats it! Thanks alot! =)

dolleris’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

anusornwebsite’s picture

Version: 6.x-1.0 » 7.x-1.0
Assigned: Unassigned » anusornwebsite
Priority: Normal » Critical

I installed CKEditor and TinyMCE and use them with Full HTML. I created directory sites/default/files/image(755) and put my picture into it.
When I added my picture with CKEditor and TinyMCE, it shown on edit. But it didn't show on my page(view)
Is this problem from my server?

Pardon me if my english isn't well

anusornwebsite’s picture

It is my fault. I created wrong URL (sites/default/files/yourImage), but it can see image on 'edit' with CKE, but not see on 'view' because this URL it changed into (node/sites/default/files/myNewImage) when I save. This is right URL (http://yourDomain/sites/default/files/yourImage). This URL is never changed

francis55’s picture

But surely if you put the whole URL, then if you move from a development platform to a production one, then the link won't work anymore?
I have the problem that the image appears in the editor but not in the page. The URL is not changed by the editor, it remains as
<img src="images/imageName.gif"...>
and the image is in the images folder just under the Drupal site.
I can imagine why this should not work: it's a relative path, so it might be looking for the image from the position of the page. On the other hand, I don't see how it could work in the editor and not in the page.

I have my site on "http://localhost/drupal_commons/"
I found one way of displaying the image, which was by putting href="/drupal_commons/images"/imageName.gif". My fault for not putting my drupal files at the root.

I've been trying to get the editor to load images from my disk. First I realized that I needed an added module, named IMCE. Then I read that to get IMCE to work with the editor, I needed another module called IMCE Wysiwyg API bridge. I installed that, but I still don't have the browse button. (the editor is called Wysiwyg in my config, but I believe it's the same as FCK ...)