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

cburschka’s picture

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

Christefano-oldaccount’s picture

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">

mdixoncm’s picture

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

cburschka’s picture

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

chicomtl’s picture

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.,....

heine’s picture

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

chicomtl’s picture

ok but what would be the code

so i can do it on on my on site

sepeck’s picture

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