<?xml version="1.0" encoding="windows-1252"?>
<node id="938715" title="Re: pod and images" created="2011-11-17 19:37:58" updated="2011-11-17 19:37:58">
<type id="11">
note</type>
<author id="45414">
jmcnamara</author>
<data>
<field name="doctext">
&lt;p&gt;You can get search.cpan.org to display an image if the HTML is embedded in the Pod on a single line like this:

&lt;/p&gt;

&lt;code&gt;
=pod

... some Pod here

=begin html

&lt;p&gt;&lt;center&gt;&lt;img src="http://jmcnamara.github.com/excel-writer-xlsx/images/examples/rich_strings.jpg" width="640" height="420" alt="Output from rich_strings.pl" /&gt;&lt;/center&gt;&lt;/p&gt;

=end html

... more Pod here.

=cut

&lt;/code&gt;
&lt;p&gt;
You can see the result [http://search.cpan.org/~jmcnamara/Excel-Writer-XLSX/lib/Excel/Writer/XLSX/Examples.pm#Example:_rich_strings.pl|here]. Metacpan also supports this.
&lt;/p&gt;
&lt;p&gt;
The image above links off-site to a GitHub repository but you could probably link back to search.cpan.org by working out the final destination of the images when expanded on the site. You can also use this method for local documentation and images.
&lt;/p&gt;

&lt;p&gt;
--
&lt;br&gt;
John.
&lt;br&gt;
</field>
<field name="root_node">
728827</field>
<field name="parent_node">
728827</field>
</data>
</node>
