14 Dec
2004
14 Dec
'04
2:56 p.m.
Simon Forster wrote:
return context.restrictedTraverse('/LDML/images/ldml.gif')
gives me the string
<img src="http://127.0.0.1:8080/LDML/images/ldml.gif" alt="" title="" height="120" width="120" border="0" />
But what I'm after is the actual binary image file. How do I get this?
rewrite the line to this:: img=context.restrictedTraverse('/LDML/images/ldml.gif') return img() Michael -- http://zope.org/Members/d2m