[Zope] Re: Generating thumbnails on the fly using PIL
Dieter Maurer
dieter@handshake.de
Wed, 28 Nov 2001 21:12:29 +0100
Pieter Claerhout writes:
> this all works find if you use it as:
>
> <dtml-var "PHTO_MakeThumb('AB_action_inbox.jpg', 160, 120)">
>
> As soon as you want to do something like:
>
> <dtml-var "PHTO_MakeThumb('/images/AB_action_inbox.jpg', 160, 120)">
>
> you get an AttributeError. Does anybody has a way around this?
Whenever I see such a question (which I do rather (too) often ;-)),
I reply: use "restrictedTraverse"....
Dieter