Insert an <img> tag in a textarea
Posted on 2004-04-28
I have a textarea that saves text to a table db to show text in other page.
I thought that adding an <img scr="image.gif"> in the textarea would work (I mean, would show the image in the showing page) but for my surprise, it doesn't.
When I see the source code in the showing page, the code is ok, but the image is not shown (the page shows only a small icon, not like the one that image is not found).
When I see the properties of the image, it doesn't show anything, only the width and height if I specify them in the tag. The image is saved correctly, If I type the url of the image in the browser it shows it perfectly.
What can be happening?