[Zope] Getting image

Michel Pelletier michel@digicool.com
Wed, 15 Mar 2000 10:53:40 -0800


Daniel.Weber@SEMATECH.Org wrote:
> 
> I uploaded an image and want to attach it to an email message using <dtml-mime>.
> How do I get the actual image?  <dtml-var image> gives me the <img > tag.
> "image.content_type" gives me content type properly, but I don't know the
> property name for the actual data.

Hmm.. unfortunatly there is no good way to do this from DTML except to
use manage_FTPget().  Yuk.  This lack will be fixed in the near future
when we re-do alot of the Zope interfaces.  Currently we are in the
middle of documenting all of the existing interfaces which obviously
must come first.

-Michel