bighara has asked for the wisdom of the Perl Monks concerning the following question:
print "Content-type: text/html\n\n"; print <<Start; <HTML> <HEAD> <TITLE>PAGE TITLE</TITLE> </HEAD> <BODY BACKGROUND="image.jpg"> <H2>Header Line</H2></BODY></HTML> Start
The page generates, but the image doesn't load. I've also tried just sticking an image in the page (a la IMG SRC) and that doesn't work either. The JPEG is in the cgi-bin directory along with the script. I've tried it in a different directory as well, mapping to that folder in the 'BACKGROUND=' info, but no dice. Any thoughts? Or is it just some private weirdness of my system? Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: images & background images with CGI
by dws (Chancellor) on Jan 21, 2002 at 08:36 UTC | |
|
Re: images & background images with CGI
by foogod (Friar) on Jan 21, 2002 at 09:13 UTC | |
|
Re: images & background images with CGI
by grep (Monsignor) on Jan 21, 2002 at 09:24 UTC | |
|
Re: images & background images with CGI
by little (Curate) on Jan 21, 2002 at 14:05 UTC |