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 reply to Re: Display image file in browser
by friedo
in thread Display image file in browser
by ITmajor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |