Updated image portlet preview template
authorThierry Florac <tflorac@ulthar.net>
Wed, 07 Feb 2018 18:03:19 +0100
changeset 60 d65ad9b7367a
parent 59 924495a650ad
child 61 651395ef80b5
Updated image portlet preview template
src/pyams_portal/zmi/portlets/templates/image-preview.pt
--- a/src/pyams_portal/zmi/portlets/templates/image-preview.pt	Sat Jan 27 00:42:55 2018 +0100
+++ b/src/pyams_portal/zmi/portlets/templates/image-preview.pt	Wed Feb 07 18:03:19 2018 +0100
@@ -9,7 +9,7 @@
 						   slot_width slot_config.get_width();
 						   base_width 100 / 12;
 						   thumbnails extension:thumbnails(image);
-						   target python:thumbnails.get_thumbnail('800x600', 'jpeg');"
+						   target python:thumbnails.get_thumbnail('800x600');"
 			   tal:attributes="href extension:absolute_url(target)">
 				<picture>
 					<tal:var define="width slot_width['lg']">