22 Oct
2001
22 Oct
'01
10:23 a.m.
On Mon, Oct 22, 2001 at 12:11:34PM +0200, Michel Vayssade wrote:
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 ?
You missed exactly this - content :) Put the content of the object instead of its name as the second parameter. Oleg. -- Oleg Broytmann http://phd.pp.ru/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.