What's the URL of the image? Relative URL "cgi-bin/images/1.gif" applied to base URL "http://localhost/cgi-bin/image.cgi" is "http://localhost/cgi-bin/cgi-bin/images/1.gif". I think you have an extra "cgi-bin/" in there. Fix: print "<IMG SRC='images/1.gif'>";
Also, how are you refering to the script? That script won't work from an <img> since it returns HTML, not an image.
In reply to Re: CGI display a gif
by ikegami
in thread CGI display a gif
by indie_campbell
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |