You're not giving the complete URL for the image. You'll have to tell the browser the URL so it can ask for the image from the server in such a way that the server can find it. You probably don't want to give the actual path to the file, since web servers normally use a different directory as a root location.
Suppose your file is at /My/Stuff/www/images/tools/hammer.jpg and your server name is "www.MyTools.com", and it's treating /My/Stuff/www as the document root. Then you'll want to set the URL to "http://www.MyTools.com/images/tools/hammer.jpg".
Note: There may be more subtleties that I'm not aware of, as I don't write code for the WWW .... yet! (My new job is wanting me to do some, so I've been studying a bit.)
...roboticus
When your only tool is a hammer, all problems look like your thumb.
In reply to Re: Display an image from cgi
by roboticus
in thread Display an image from cgi
by rshoe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |