Hello

I want to show images in my content without using the "Full HTML" input format... how can I do that?

And also if I use the "Full HTML" format and I want to show my image with Only local images are allowed. it won't work...

What do I have to do? and where would be best to save those images, so that when the Site goes online it will still know where the images are.. ?

Thanks you

Regards

maxx15

Comments

hershel’s picture

What do you mean that it doesn't work using "Full HTML"? What exactly is the problem?

One way to store images is to put them in sites/default/files and then they are accessible from a dev machine and a live machine at the same location.

maxx15’s picture

Well it doesn't show the pic.. I only see like a small box with an x... ?!

So if I save the pics in that folder, and my site goes online it will then still show the pics to everyone who visits the site? I know that I can't save the pics locally otherwise it won't find them anymore, when I give the site to my hoster to put in online.. that's why I asked where I should save them

Thank you

Regards
maxx15

kashpratik’s picture

first one is the ..u can use image feild in ur content type ... for this link "http://drupal.org/project/imagefield"
here u can find ur solution...

second with html coding --> put the php image link with image . like this Only local images are allowed. print base_path() . path_to_theme() /images/test.gif" alt="" />

in this coding " print base_path() . path_to_theme() " is the php link for u...put this and select "INPUT TYPE" AS PHP...ok

thanks

archeryrob’s picture

Did you enable image modules in admin? And add img as an acceptable code? If you did not it's filtered.

I used filtered and and this <img src="http://wwww.bowyers-den.com/images/arrow_materials/arrowweed3.jpg" alt="Name here"/>

I get "Name here" if the pic does not load, but I can not get the alt text to work on mouse over right yet. It seems you directory or url line is wrong.

What the site or text your using?