Re: Cant Display the image...

[email protected] (David Dorward)
Newsgroups perl.beginners.cgi
Message-ID <[email protected]>
On 6 Sep 2007, at 09:03, jeevs wrote:
>  print "<img src='file.png'>";

Where is the alt attribute?

> yes i am creating a file in cgi directoy ..

Are you certain that is the current working directory?

If it is for CGI then it could well be set up to try to execute  
everything in it.

> but instead of the image just a square box is displayed ..

So look at the server logs to see what the server thinks is happening  
when the image is requested.


-- 
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.