Hello everyone,I hope everyone's doin good. I am facing an issue regarding the images, i have a cgi page i.e Login.cgi, in tha html section i have included some images but some are getting displayed and some are not.
Here's the code:
#!C:\perl\bin\perl.exe
use CGI::Carp qw(warningsToBrowser fatalsToBrowser);
use strict;
print "Content-type: text/html\n\n";
print <<END2;
<html>
<head><title>LOGIN</title></head>
<body>
<table>
<tr>
<td background="C:/Program Files/Apache Software Foundation/Apache2.2/cgi-
bin/template_3/images/login2222.PNG" style="height: 135px; width:
100px;">
<img src="C:/Program Files/Apache Software Foundation/Apache2.2/cgi-
bin/template_3/images/ineer-top-left.gif"/>
</td>
</tr>
</table>
</body>
</html>
END2
Among these two images, the td tag's 'background image' is getting displayed properly, BUT not the image within td.
Actually, i tried changing the content-type to "image/gif", but it did not work. i tried changing the src to "../template_3/images/ineer-top-left.gif" or something like "~/template_3/images/ineer-top-left.gif",but it did not work.
When i right clicked the image in the browser and checked the Properties "it gives the TYPE: not available SIZE : not available BUT the ADDRESS(URL) is Correct. Can anybody Please Help me find the solution.Thank you