On Wednesday 10 August 2005 14:46, [EMAIL PROTECTED] 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.

Regards,
stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to