Your image file is in a directory which Apache is configured to execute CGIs from and apparently has permissions bits such that it's trying to execute the image. This quite unsurprisingly fails.
Move the image file out of the CGI directory into a "plain" document directory (and adjust the URL in the src attribute accordingly), or remove execute permissions from the gif file.
In reply to Re: Image problem with CGI [ (8)Exec format error ]
by Fletch
in thread Image problem with CGI [ (8)Exec format error ]
by j1n3l0
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |