[Zope] Adding IMAGE with manage_addImage is impossible :)

Martijn Pieters mj@antraciet.nl
Sun, 24 Oct 1999 12:49:26 +0200


At 12:13 24-10-99 , Samu Mielonen wrote:
>   <form action=postit method=post>
>         <input type=file name="image1">
>         <input type=submit value="Tallenna muutokset">
>   </form>

Make that

   <form action=postit method=post encty="multipart/form-data">

so that your browser will actually upload the file, not the path to the file.


>PS Having browsed through all of the Zope mailing list archives I've
>noticed I was alone with this problem. At least 8 other people had
>the same problem as I did. How can referencing a simple image object
>be so darned difficult? :)

It is a frequently made mistake, and a problem of HTML, not Zope. Did none 
of the replies to any of those messages name the solution?

--
Martijn Pieters, Web Developer
| Antraciet http://www.antraciet.nl
| T: +31 35 7502100 F: +31 35 7502111
| mj@antraciet.nl http://www.antraciet.nl/~mj
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
---------------------------------------------