[Zope] How to add an image to a ZClass

Geir B Hansen geirh@funcom.com
Thu, 4 Nov 1999 12:55:50 +0100


> Hi,
>
> I am trying to add images to a ZClass. It can't be done through
properties,
> so I tried to add one to the class itself. Fine, it allowed me to add
an
> image, but I had to specify an image file. Now how do I go about
adding a
> different image to each class instance?
>
> Thanks,
>
> Willie
>

Willie

When you make your Zclass, make sure that ObjectManager is selected as
one of the base classes..
Then, go to the subobjects-view inside your class, and define image as
one of the available objects...
after this, you should be able to add images to your Zclass instances..

------------------------------------------------
Geir B Hansen
geirh@funcom.com
Web-designer / Graphic artist
Funcom Oslo
http://www.funcom.com
------------------------------------------------