[Zope] Forcing Content-Type of Image object

Dieter Maurer dieter@handshake.de
Tue, 14 Nov 2000 23:54:10 +0100 (CET)


Peter Bengtsson writes:
 > I don't want Zope to find out what content type an Image has. I want to be able to force that programmatically myself from DTML.
 > 
 > Here are some code examples that doesn't work:
 > 
 > <dtml-call "PARENTS[0].manage_addImage('awapimage.wbmp',file,'Give it a Title','','image/vnd.wap.wbmp')">
This one should work.

How did it not?



Dieter