--- a/src/pyams_file/widget/templates/image-display.pt Fri Oct 13 10:15:26 2017 +0200
+++ b/src/pyams_file/widget/templates/image-display.pt Sun Nov 26 10:02:49 2017 +0100
@@ -13,7 +13,7 @@
<img class="thumbnail"
tal:define="thumbnail python:thumbnails.get_thumbnail('128x128', 'jpeg');"
tal:attributes="src extension:absolute_url(thumbnail);
- title i18n:context.title;" title="" src="" alt="" />
+ title i18n:value.title;" title="" src="" alt="" />
</a>
<div class="margin-top-5">
<span i18n:translate="">Current value: </span>
--- a/src/pyams_file/widget/templates/image-input.pt Fri Oct 13 10:15:26 2017 +0200
+++ b/src/pyams_file/widget/templates/image-input.pt Sun Nov 26 10:02:49 2017 +0100
@@ -30,7 +30,7 @@
<img class="thumbnail"
tal:define="thumbnail python:thumbnails.get_thumbnail('128x128', 'jpeg');"
tal:attributes="src extension:absolute_url(thumbnail);
- title i18n:context.title;" title="" src="" alt="" />
+ title i18n:value.title;" title="" src="" alt="" />
</a>
<div class="margin-top-5">
<span i18n:translate="">Current value: </span>