I believe this is explained in the zope tutorial which you can load like a product from the add drop down. in short: you have to add a form to your page with a input of type file and an action that does the creation of a new object and loads the file (mind the enctype): <form action="doupload" method="post" enctype="multipart/form-data"> <input type="text" name="id"> <input type="text" name="title"> <input type="file" name="file"> <input type="submit"> </form> this is processed by a script called "doupload" as in your forms method defined: ## Script (Python) "doupload" ##bind container=container ##bind context=context ##bind namespace= ##bind script=script ##bind subpath=traverse_subpath ##parameters=id, title, file ##title= ## context.manage_addImage(id,title,file) I hope that works Robert On Saturday 03 January 2004 15:56, Eva Rowe wrote:
sorry if this is simple but.....
how would i add an 'Image Object' from my web page which I have created in Zope, instead of physically from the Zope interface.
Cheers and hope to hear from you.
Eva
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )