14 Dec
2004
14 Dec
'04
3:27 p.m.
Michael Haubenwallner wrote:
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
Sorry, this is wrong. I have hit the send-key too early. Michael -- http://zope.org/Members/d2m