By dineshbonn on
hello everyone,
I have created a new block to display at the below by userlogin block. In the block i am trying to add a image in it .
This is code i have included in the block body .
<html>
<head>
<body>
<img src="http://perusasive.ubihealth.de/drupal-6.10/paypal2.GIF" width="50" height="50"><img>
</body>
</html>
But the image is not displaying in block ?..
Any suggestion ?..
Thank you.
Comments
Did you set the input format
Did you set the input format to full html?
yeah i have set to input
yeah i have set to input format full html..
Your img tag isn't closed
Your img tag isn't closed properly.
i closed the now but even it
i closed the now but even it is not working out ..
Don't put the html and body
Don't put the html and body tags in the block. Just put the img code.
Set the input format to something that doesn't strip img tags.
you mean not set the input
you mean not set the input format to filtered html either full html ?.. Even it does not work.
Maybe that image you are
Maybe that image you are linking to has hotlink protection enabled. Try using something on your local webroot, like sites/all/files/image.jpg.
I tried to navigate to the
I tried to navigate to the image URL in a browser window and got "Object not found."
That could be it
That could be it .... :D
Put the image in the "files"
Put the image in the "files" directory of Drupal, not the root. So in the sites/default/files for example.
Thank u Mark. I put the image
Thank u Mark. I put the image in different folder and it works fine now..