Forget CGI for the moment, access the image via a browser via http://localhost not file://. If, as others have pointed out, you still claim that your error_log isn't displaying "File does not exist: /blah/blah/image.png" style errors your apache config is wrong.
In reply to Re^5: image not shown in my web page
by marto
in thread image not shown in my web page
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |