[Zope] query !!
Dieter Maurer
dieter@handshake.de
Tue, 28 Aug 2001 23:54:46 +0200 (CEST)
sanket j Deshmukh writes:
> Please tell me if its possible to upload a
> image (jpg or gif) from a form and
> store it in a DTML document as a
> variable.
> if yes what will the variable type be ??
> (e.x: string, int, etc )
Hugh!
Variables usually do not have a type....
Properties have one.
But you should not store an image in a property (you will loose
HTTP caching, e.g.).
Store them as an Image object and reference it in your
DTML object with "<dtml-var imageid>".
Dieter