Hello.

I'm trying to insert images in nodes. I really think that an image is worth a thousand words, especially in the frontpage.

I installed FCK editor for this, and also IMCE to upload and easily browse images withing FCKeditor. Now when I am creating the node, the image does display in the node (in the FCKeditor window), BUT when I submit it or view it for further submission, the image is NOT there. I look at the page source with Firebug, and I realize that the "img" tag is NOT there. But when I enter FCKeditor in the node again, and click "source" I see that it actually puts the image in the node.

Any ideas?

Thanks.

Comments

hutch’s picture

either:
Set input format to Full HTML
or
add the img tag to the list of allowed tags for Filtered HTML.

thebrotherofasis’s picture

Thank you... I went to administer - site configuration - input format, and added Only local images are allowed. to the list of html allowed tags... your help is really appreciated.

thebrotherofasis’s picture

Status: Active » Fixed

Thank you... I went to administer - site configuration - input format, and added Only local images are allowed. to the list of html allowed tags... your help is really appreciated.

Anonymous’s picture

Status: Fixed » Closed (fixed)
RadioLechtal’s picture

What shall i do if there is no field to enter allowed tags.

Even when i set to full htnl, the img is not appearing - it is just wiped out - Is there a possibility to enter it directly into the database ore in some config file ore what ever?

Thanks

Fogg’s picture

Status: Closed (fixed) » Active

Hi all,

I have exactly this problem even though IMG is an allowed tag in my filtered HTML input. What else can be wrong?

Also in Full HTML the image does get wiped out.

I am using Drupal 6.14 with lates FCKEditor, Wysiwyg API, IMCE and IMCE Wysiwyg-Bridge.

Thanks!

Daniel

Fogg’s picture

Hi all,

just found the reason.... when the BBCode Icon is active, than images will disappear on submit!

Why... no clue! Anybody else might have some ideas...

Cheers,
Daniel

Jorrit’s picture

Status: Active » Closed (fixed)

Nice to hear you found the problem.

IkkeCC’s picture

Thank you very much I tried it all and now it works :D

jshelley’s picture

I got hit by both the input format not accepting img tags AND the BBCode being checked, so +1 for both. Thanks to everyone!