title: Why are the images included in cgi page not getting displayed in browser?
body: <p>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.</p>
  
  <p>Here's the code:</p>
  
  <pre><code>       #!C:\perl\bin\perl.exe
        use CGI::Carp qw(warningsToBrowser fatalsToBrowser);
        use strict;
        print "Content-type: text/html\n\n";
  
        print &lt;&lt;END2;
        &lt;html&gt;
        &lt;head&gt;&lt;title&gt;LOGIN&lt;/title&gt;&lt;/head&gt;
        &lt;body&gt;
           &lt;table&gt;
             &lt;tr&gt;  
              &lt;td background="C:/Program Files/Apache Software Foundation/Apache2.2/cgi-
                 bin/template_3/images/login2222.PNG" style="height: 135px; width:
                   100px;"&gt;
                &lt;img src="C:/Program Files/Apache Software Foundation/Apache2.2/cgi-
                     bin/template_3/images/ineer-top-left.gif"/&gt;
               &lt;/td&gt;
             &lt;/tr&gt;
         &lt;/table&gt;
        &lt;/body&gt;
       &lt;/html&gt;
       END2
  </code></pre>
  
  <p>Among these two images, the td tag's 'background image' is getting displayed properly, BUT not the image within td.</p>
  
  <p>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.</p>
  
  <p>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</p>