|
|
| laziness, impatience, and hubris | |
| PerlMonks |
Re: Display image file in browserby friedo (Prior) |
| on Jul 15, 2008 at 20:35 UTC ( #697801=note: print w/ replies, xml ) | Need Help?? |
|
You don't use a function in Perl to display an image file in a browser. If you want to display an image in a browser, you use HTML. If the image in question must be dynamically generated by a CGI program, then point the src attribute from the img tag at the right program, and have that program output the correct content-type header so the browser knows it's getting an image.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||