[Zope] CMF Question.

seb bacon seb@jamkit.com
26 Oct 2001 10:15:22 +0100


On Thu, 2001-10-25 at 18:59, Scott Kuei wrote:
> Hi there,
> Does anyone know how to use the addImage function of Image.py module in
> CMFDefault? I really need help on this one. Thanks.
> Scott,

from a python script: 

 context.invokeFactory('Image', 'my_image')

or (untested):

 context.manage_addProduct['CMFDefault'].addImage('my_image')