Stefan Mallepell wrote:
Hi
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.
Unfortunately as soon as I add the OFS:Image Baseclass I don't get a working ZClass ... And I haven't found a example with a zclass based on ZImage. All the other products I looked to (like JPicture or ActiveImage) isn't really helping.
Is there anybody who can help me?
I'm really desperate, cause it's bloody urgent ... Thanks a lot in advance.
Kind Regards Stefan Mallepell
If you want to make a ZClass that contains multple objects, use ObjectManager or Folder as the base class and then restrict the type of object you can add to "Image". You could then create methods to manage the 3 images you want in there in a standardized way. hth, -- | Casey Duncan | Kaivo, Inc. | cduncan@kaivo.com `------------------>