i am preparing graphs(MatPlotLib) related files using external methods., when i test them on zope they display very well there.<br><br>But when i call these external methods using tal as:<br><br>&lt;Img tal:attributes=&quot;src python: context.IterationBar(context) &quot;/&gt;<br>
where IterationBar is my external method that displays a BarChart.<br><br>Or using <br><pre><font size="2"><font size="4"> <font size="2"><span style="font-family: arial,sans-serif;">&lt;img src=&quot;/Agile/image.gif&quot;    </span><br style="font-family: arial,sans-serif;">
<span style="font-family: arial,sans-serif;">   tal:attributes=&quot;src context.IteartionBar(context)&quot;/&gt;<br><br>It does not display me the image in <b>Default Plone Page, </b><br>Only the graph image gets displayed on a <b>blank page</b> not on Plone default page.<br>
I want it in a plone default page and not a new blank page.<br>Why cant that image gets displayed with other contents of that page still there.<br></span></font></font></font></pre><br><br><br><br><div class="gmail_quote">
On Fri, May 30, 2008 at 11:48 AM, Andreas Jung &lt;<a href="mailto:lists@zopyx.com">lists@zopyx.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d"><br>
<br>
--On 30. Mai 2008 11:43:37 +0530 Andyy &lt;<a href="mailto:ggirotra@gmail.com" target="_blank">ggirotra@gmail.com</a>&gt; wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br>
<br>
I am using Plone3 and zope2.10<br>
I am trying *MatPlotLib graphics library* to generate graphs and chart.<br>
It gets displayed well on zope,<br>
</blockquote>
<br></div>
But does that mean?<div class="Ih2E3d"><br>
<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
but *i need to display it using page<br>
templates on one of the page on my plone site*.<br>
How do i Go about it?<br>
<br>
I am able to display it but not using standard plone template.<br>
</blockquote>
<br></div>
ZPT does not display images. You generate proper &lt;img&gt; tags to the related resource. Where is the problem? Tell us what you have, tell us what you want to achieve.<br>
<br>
-ah<br>
<br>
</blockquote></div><br>