18 Sep
2008
18 Sep
'08
8:01 a.m.
Instead of generating the image on the call to your ZPT you form an <img src="/some/url/that/makes/my/image?foo=bar&baz=bat"> e.g. in order to generate the right image.
Got it. The magic is not to call the external method by container.createThumbnail() but use absolute URL to the external method. In the page template I have to use: <img tal:attributes="src string:${container/absolute_url}/createThumbnail?imagepath=${imgpath}"/> Thanks for pointing me in the right direction. Regards Nico