[Zope] Content of image object

Andrew Kenneth Milton akm@theinternet.com.au
Tue, 2 Oct 2001 20:26:55 +1000


+-------[ olpa@sybcom.de ]----------------------
| 
| Hi,
| 
| how to get the content of an image object. I want to set a DTML-var with
| the binary content of an image object...
| 
|   <dtml-call "REQUEST.set('logo', _['name_of_image_object'])">

<dtml-call "REQUEST.set('logo', name_of_image_object.data)">

I'm not sure you can have a valid reason for doing this from DTML however...

-- 
Totally Holistic Enterprises Internet|                      | Andrew Milton
The Internet (Aust) Pty Ltd          |                      |
ACN: 082 081 472 ABN: 83 082 081 472 |  M:+61 416 022 411   | Carpe Daemon
PO Box 837 Indooroopilly QLD 4068    |akm@theinternet.com.au|