--- a/src/pyams_content/component/illustration/zmi/templates/illustration-thumbnail.pt Tue Oct 09 16:23:32 2018 +0200
+++ b/src/pyams_content/component/illustration/zmi/templates/illustration-thumbnail.pt Tue Oct 09 16:34:15 2018 +0200
@@ -1,4 +1,8 @@
-<tal:var i18n:domain="pyams_content">
- <img tal:define="illustration i18n:view.illustration.data"
- tal:attributes="src tales:absolute_url(illustration, '++thumb++128x24.png')" />
+<tal:var i18n:domain="pyams_content"
+ tal:define="illustration i18n:view.illustration.data"
+ tal:condition="illustration">
+ <img tal:define="thumbnails tales:thumbnails(illustration);
+ thumbnail thumbnails.get_thumbnail('128x24');
+ src tales:absolute_url(thumbnail);"
+ src="${src}?_=${tales:timestamp(illustration)}" />
</tal:var>