image does not display with perl-cgi script

a.kadriu's Avatar
Newbie Member
Please Help me with my first script in Perl CGI: I have this cgi-perl code:
# -- my first perl script!
print "Content-type: text/html\n\n";
print <<"EOF";
<TITLE>Hello, world1!</TITLE>
      <img src="http://localhost/icons/a.gif">     
and it works, but the image does not come up. I tried to change the image' s location, but it didn't work again.
pradeep's Avatar, Join Date: Apr 2005
Team Leader
Did you check whether the image exists in the give path? Copy the src value and paste it in the browser address bar!