[Zope] manage_addImage from python
Michel Vayssade
michel.vayssade@utc.fr
Mon, 22 Oct 2001 12:11:34 +0200 (MET DST)
Hi,
Inside python code I tried using :
self.manage_addImage('newid','localfs/image.gif',content_type='image/gif')
the "newid" object is created
but its content is the STRING "localfs/image.gif"
where I expected the CONTENT of the file localfs/image.gif
what do I miss ?
--
_/ _/ _/_/_/ _/_/ Michel.Vayssade@UTC.fr Service Informatique
_/ _/ _/ _/ T:33/0-3.44.23.49.24 Universite de Technologie
_/ _/ _/ _/ F:33/0-3.44.23.46.77 BP 20.529 60205 Compiegne
_/_/ _/ _/_/ _ mv@utc.fr __/www.utc.fr/~vayssade____ France