mt2k has asked for the wisdom of the Perl Monks concerning the following question:
How can I include a GIF picture *inside* an HTML document?
Example:
print "Content-Type: text/html\n\n"; print " <html> <body> <---Banner needs to go here---> Hi, welcome to the site.... ";
$random = rnd($numofbanners); open IMAGE, "images/banner$random.gif"; while (<IMAGE>) { print $_; } close IMAGE;
But of course this won't work.
Also, I don't want the server to have to have server includes setup.
I was thinking maybe an embed of some kind?
HELP!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Mixing HTML and GIF
by lhoward (Vicar) on Jul 15, 2000 at 23:31 UTC | |
|
RE: Mixing HTML and GIF (Q&A Link)
by Russ (Deacon) on Jul 16, 2000 at 07:15 UTC | |
|
Re: Mixing HTML and GIF
by Abigail (Deacon) on Jul 16, 2000 at 00:40 UTC | |
|
RE: Mixing HTML and GIF
by BigJoe (Curate) on Jul 15, 2000 at 23:20 UTC | |
|
Re: Mixing HTML and GIF
by Arjen (Sexton) on Jul 15, 2000 at 23:22 UTC | |
|
Re: Mixing HTML and GIF
by mt2k (Hermit) on Jul 15, 2000 at 23:25 UTC | |
by chromatic (Archbishop) on Jul 16, 2000 at 00:30 UTC | |
by Aighearach (Initiate) on Jul 16, 2000 at 03:09 UTC | |
by BigJoe (Curate) on Jul 15, 2000 at 23:31 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |