[Zope] Creating Image from DTML
Kevin Dangoor
kid@kendermedia.com
Wed, 6 Oct 1999 14:23:39 -0400
From Image.py in lib/python/OFS:
def manage_addImage(self, id, file, title='', precondition='',
content_type='',
REQUEST=None):
"""
Add a new Image object.
Creates a new Image object 'id' with the contents of 'file'.
"""
So, I think you're basically looking to do something like:
<dtml-call "manage_addImage('id', REQUEST['file'], 'title')">
Kevin
-----Original Message-----
From: Jason Spisak <webmaster@hiretechs.com>
To: zope@zope.org <zope@zope.org>
Date: Wednesday, October 06, 1999 1:39 PM
Subject: [Zope] Creating Image from DTML
>Where can I find the syntax for adding an image from DTML like a DTML
>Method.