[Zope] ZClass / BaseClass OFS:Image

Dieter Maurer dieter@handshake.de
Mon, 9 Apr 2001 22:08:09 +0200 (CEST)


Stefan Mallepell writes:
 > I'd like to make a ZClass based on the OFS:Image Baseclass ... unfortunately
 > I don't get it working.
 > 
 > The basic Idee is to have a Object containing 3 Images (Thumbnail, Normal,
 > Large) + some extra attributes like "shortdescription", "description". The
 > object should know (in attributes) the size, high and width for all the
 > images.
This may not be your problem, but:

  I am astonished that you want to make your ZClass derive from
  Image. Your instances are not images but collections
  of three images.
  I would expect, they derive from an Object Manager
  not from an Image.


Dieter