src/pyams_default_theme/component/gallery/templates/renderer-default.pt
changeset 300 f20595749ba6
parent 230 951d11442e0b
child 319 29ffc22ece57
--- a/src/pyams_default_theme/component/gallery/templates/renderer-default.pt	Fri Dec 21 13:57:53 2018 +0100
+++ b/src/pyams_default_theme/component/gallery/templates/renderer-default.pt	Fri Dec 21 16:45:31 2018 +0100
@@ -15,8 +15,8 @@
 		   tal:define="image_data i18n:image.data;
 					   alt i18n:image.title;"
 		   href="${tales:absolute_url(image_data)}">
-			${structure:tales:picture(image_data, lg_width=3, md_width=4, sm_width=4,
-									  xs_width=6, css_class='img_responsive', alt=alt)}
+			${structure:tales:media(image_data, lg_width=3, md_width=4, sm_width=4,
+									xs_width=6, css_class='img_responsive', alt=alt)}
 		</a>
 		<div class="author">${i18n:image.author}</div>
 	</div>