For Programmers: Free Programming Magazines  


Home > Archive > PERL CGI Beginners > September 2007 > Re: Cant Display the image...









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Cant Display the image...
David Dorward

2007-09-06, 7:55 am


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/


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com