[Zope] Uploading images my way
Peter Bengtsson
peter@grenna.net
Fri, 29 Sep 2000 16:29:35 +0100
> How can I upload/change an image in my zodb using custom forms. A call to
> "manage_upload" seems to always take me to a feedback form saying "Your
> changes have been saved.". How can I upload using customized forms _only_?
>
<dtml-call "_.getitem(myID).manage_upload(myFile)">
For the myID in the form you type in the ID of the object. Always remember to "_.getitem" this, since it's an object.
together with
<form action=<dtml-var URL> method=post enctype="multipart/form-data">
<input type=file name=myFile>
<input name=myID>
<input type=submit value="Good Luck!">
</form>
NOTE.
If you want to do the
> tia Danny