[Zope] Automatic Image insertion

Nico de Boer nico@nfg.nl
07 Mar 2002 10:34:46 +0100


Hello,

I've made a folderish product 'IntraNet' that automatically inserts an UpFolder
image at installation.

I try to do this as follows:

def Add_UpFolderIcon(self):
    """Add an UpFolder icon to the IntraNet product at installation"""
    self.manage_addImage('UpFolderIcon',
                         file='www/UpFolder_icon.gif',
                         title='',
                         precondition='',
                         content_type='image/gif'
                         )
 
It's a gif image, but it only installs a reference to the image (I
think). The size of the image in the edit tab is 21 bytes and it is
supposed to be 915 bytes.

Can someone help me?

Thanks,

Greetz Nico