--- a/src/pyams_default_theme/shared/imagemap/templates/imagemap-default.pt Fri Oct 18 15:22:23 2019 +0200
+++ b/src/pyams_default_theme/shared/imagemap/templates/imagemap-default.pt Fri Oct 18 15:23:50 2019 +0200
@@ -1,10 +1,9 @@
<h3 tal:content="view.title">title</h3>
<div class="no-padding wrapper-imagemap" i18n:domain="pyams_default_theme"
- tal:define="imagemap context.get_target();
+ tal:define="imagemap context.target;
image i18n:imagemap.image;
size image.get_image_size();">
- <img src="${tales:absolute_url(image)}"
- usemap="#imagemap_preview_${context.__name__}" />
+ <img src="${tales:absolute_url(image)}" alt="" />
<svg version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
--- a/src/pyams_default_theme/shared/imagemap/templates/render.pt Fri Oct 18 15:22:23 2019 +0200
+++ b/src/pyams_default_theme/shared/imagemap/templates/render.pt Fri Oct 18 15:23:50 2019 +0200
@@ -3,8 +3,7 @@
<div class="no-padding wrapper-imagemap"
tal:define="image i18n:context.image;
size image.get_image_size();">
- <img src="${tales:absolute_url(image)}"
- usemap="#imagemap_preview_${context.__name__}" />
+ <img src="${tales:absolute_url(image)}" alt="" />
<svg version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"