> 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


_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to