On Thu, Sep 18, 2008 at 08:22:37AM +0200, Nico Grubert wrote:
>  > > The <span> renders "<PIL.Image.Image instance at 0x23b97500>".
>  > > How can I show the image?
> 
>  > Call its tag method.
> 
>  >    <span tal:replace="structure item/tag" />
> 
> 
> Hi Paul,
> 
> how is the susi going? ;-)

Ah, I sold mine years ago. Nowadays I mostly just play bass. And you? :)
 
> I tried <span tal:replace="structure item/tag" /> but I get the 
> following error:
> -----------------------------------------------------------------------
> Exception Type        TraversalError
> Exception Value       (<PIL.Image.Image instance at 0x18e84ad0>, 'tag')

Whoops, sorry, I didn't realize these were PIL images, I thought they
were OFS.Image or some such. But I see you already got the solution.

- PW
 

-- 

Paul Winkler
http://www.slinkp.com
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to