[Zope] Displaying PIL Images in Zope Templates
Nico Grubert
nicogrubert at gmail.com
Wed Sep 17 09:01:55 EDT 2008
Hi there
Is it possible to show several PIL.Image.Image instances in a Zope Page
without creating a temporary Zope image object?
I have an external method that creates a list of
PIL.Image.Image instances, e.g.
[<PIL.Image.Image instance at 0x711fc60>,
<PIL.Image.Image instance at 0x711fc70>
]
How can I display all images in a Zope page template?
I tried
<tal:rep tal:repeat="item">
<span tal:replace="item" />
</tal:rep>
The <span> renders "<PIL.Image.Image instance at 0x23b97500>". How can I
show the image?
Thanks in advance
Nico
More information about the Zope
mailing list