[Zope] Trouble migrating to a PhotoFolder setup
Ron Bickers
rbickers-dated-1004742917.9bc591@logicetc.com
Fri, 26 Oct 2001 19:15:17 -0400
> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Kirk
> Strauser
> I have a variable named 'imagename' that stores the value of the
> id I'd like
> the Photo to have. Another variable, 'imagefile', is the object returned
> for an <input type="file" ...> form element. I had been using:
>
> <dtml-call expr="manage_addImage(id=imagename, file=imagefile,
> title=imagename)">
Try this:
<dtml-call expr="manage_addProduct['Photo'].manage_addPhoto(
id=imagename, title=imagename, file=imagefile)">
_______________________
Ron Bickers
Logic Etc, Inc.