[Zope] Content of image object

Phil Harris phil.harris@zope.co.uk
Tue, 2 Oct 2001 11:12:24 +0100


would:

<dtml-call "REQUEST.set('logo',_.getitem('imgname',0))">

work?
----- Original Message -----
From: <olpa@sybcom.de>
To: <zope@zope.org>
Sent: Tuesday, October 02, 2001 11:04 AM
Subject: [Zope] Content of image object


>
> 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'])">
>
> oviously sets logo with smthing like <img src="name_of_image_object" ...>
> but the thing i want is the content...
>
> pls hlp!
> thx
> oliver
>
> ---
>    I think we dream so we don't have to be apart so long. If we're in each
> other's dreams, we can play together all night.   -- Calvin
> ---
>  Oliver Pabst             .-------------------------.
>  mailto:olpa@sybcom.de    :                         :
>  phone :+49 681 56600600  :    project department   :          SYBCOM GmbH
>  fax   :+49 681 56600660  :                         : http://www.sybcom.de
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )