[Zope] Creating Image from DTML
Jason Spisak
jason@mtear.com
Wed, 06 Oct 1999 10:41:58 GMT
I was dealing with a Corupted Transaction Error so I was lazy.
Thanks Kevin!
Jason
Kevin Dangoor writes:
> 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.
>
>
Jason Spisak
webmaster@hiretechs.com