[Zope3-Users] resized images
srichter at cosmos.phy.tufts.edu
Sun Aug 28 18:02:46 EDT 2005
On Wednesday 10 August 2005 14:46, z3uml at xs4all.nl wrote:
> I'd like to add images to an container but want them to be resized with
> PIL. I assume I need a custom factory for that that sizes the image before
> creating the content type.
> The question I have is that I'm not sure if I can create a custom factory
> for the already existing image content type directly. Or if I need to
> subclass Image class and create the custom factory for that?
> Can some body please clarify what's the best method to achieve this?
I think you can just create a new factory and make a custom add menu entry.
That should be all.
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
More information about the Zope3-users