Uploading images into text body (image assist)

derekweldon - November 23, 2008 - 09:45

I am trying to upload an image right into the text in my page. This seems like it should be fairly simple but I have not had any luck and my searches for it came up with nothing.
I am on drupal 6.6 and have the Image modual and the image assist modual. I have been to content types and enabled attached images, then I uploaded an image using the upload feature. I then go into edit a page by navigating to that page and selecting edit. In the edit options there is a green plus now that says click here to add images. I click there and I pick the image that I want, then the options like alignment and size.

Here is the problem. Once I submit that screen all I get is what looks like html code pasted into my text if I choose filtered tag, and it just shows the file name if I choose html code. No image shows whatsoever.

This looks like a bug since I followed a tutorial on how to do it and I have different results.

Any help?

a possible answer to your issue

MidGe48 - November 23, 2008 - 10:41

I am no sure what your problem is. I It could be many things, but one of the things I would check would be that you input filter allows the html required for inserting an image.

www.ZuNOB.com

hey, guess what? Itdid have

derekweldon - November 23, 2008 - 11:23

hey, guess what? Itdid have to do with the filtered html because when I change to full html there is no problem. Now is it bad to run full html and if it is, then why won't my filtered html work with image assist on a brand new installation?

Filtered HTML is used out of

cog.rusty - November 23, 2008 - 16:43

Filtered HTML is used out of the box because it is the only completely safe input format for random people subscribing. It doesn't allow the img tag, because not even that is entirely safe.

Instead of allowing the users Full HTML,
- you can add the img and span tags to the allowed tags of Filtered HTML
- or, you can create a new input format which allows the img and span tags.

These suggestions come from img_assist's README.txt

Thank you

derekweldon - November 24, 2008 - 02:34

Thank you for this comment.
This was ecxellent feedback

 
 

Drupal is a registered trademark of Dries Buytaert.