Community

Posting an image-- how come it doesn't work?

Only local images are allowed.http://www.phun.org/newspics/funny_friday/1310.jpg
< img > http://www.phun.org/newspics/funny_friday/1310.jpg < /img >
How come this tags don't work? and how does one make em work?

Comments

HTML filter

You're probably using filtered html and have the img tag blocked. Look at the "Allowed HTML tags" to see which you can post.

--
Arancaytar

improper use of the <img> tag

As Arancaytar says, be sure that the <img> tag is allowed in your input filters. On another note, the <img> HTML tag doesn't have a closing tag. Try this instead:

<img src="http://www.phun.org/newspics/funny_friday/1310.jpg">

To improve the experience for your website's visitors, it would be wise to include width and height attributes:

<img src="http://www.phun.org/newspics/funny_friday/1310.jpg" width="457" height="599">

and just to be really pedantic ...

you should also include a trailing slash in your img tag like this

<img src="http://www.phun.org/newspics/funny_friday/1310.jpg" width="457" height="599" />

Like books? Check out booktribes the new (Drupal based) community for book lovers
from Computerminds

Ack!

I must be tired today; I didn't even realize that

<img>url</img>

could never work, no matter what the filter allowed. I'm too used to BBCode apparently.

--
Arancaytar

i'm a ack

ok what would be the codes for someone to post an image on this forum.

i changed the stuff to be allowed and it still did not work, i try posting the image, the other way and nothing

img src="http://www.,....

You can't

You are not allowed to post images on this forum.
--
The Manual | Troubleshooting FAQ | Tips for posting | How to report a security issue.

images posting

ok but what would be the code

so i can do it on on my on site

...

Using image module, http://drupal.org/node/47357

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain

nobody click here