<?xml version="1.0" encoding="windows-1252"?>
<node id="697801" title="Re: Display image file in browser" created="2008-07-15 16:35:29" updated="2008-07-15 12:35:29">
<type id="11">
note</type>
<author id="139958">
friedo</author>
<data>
<field name="doctext">
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;
If the image in question must be dynamically generated by a CGI program, then point the &lt;c&gt;src&lt;/c&gt; attribute from the &lt;c&gt;img&lt;/c&gt; tag at the right program, and have that program output the correct content-type header so the browser knows it's getting an image.
&lt;/p&gt;</field>
<field name="root_node">
697797</field>
<field name="parent_node">
697797</field>
</data>
</node>
