Is it possible to find the url of an image scale of an image in TAL ?
I need the url itself (not the tag), so basically I want:
/path/to/image/@@images/5a76148b-bee5-4e23-98de-0d4d7404a9b3.jpeg
Is it possible to find the url of an image scale of an image in TAL ?
I need the url itself (not the tag), so basically I want:
/path/to/image/@@images/5a76148b-bee5-4e23-98de-0d4d7404a9b3.jpeg
<img tal:define="scales context/@@images;
thumbnail python: scales.scale('image', width=64, height=64);"
tal:condition="thumbnail"
tal:attributes="src thumbnail/url;
width thumbnail/width;
height thumbnail/height" />
Thanks