Reduced thumbnail height in selection forms
authorThierry Florac <thierry.florac@onf.fr>
Fri, 13 Oct 2017 08:56:41 +0200
changeset 62 cd4af122cd93
parent 61 9ef00182d11a
child 63 c2b008c96f88
Reduced thumbnail height in selection forms
src/pyams_file/zmi/templates/image-crop.pt
src/pyams_file/zmi/templates/image-pano-thumbnail.pt
src/pyams_file/zmi/templates/image-selection.pt
src/pyams_file/zmi/templates/image-square-thumbnail.pt
--- a/src/pyams_file/zmi/templates/image-crop.pt	Thu Oct 12 22:22:44 2017 +0200
+++ b/src/pyams_file/zmi/templates/image-crop.pt	Fri Oct 13 08:56:41 2017 +0200
@@ -1,5 +1,5 @@
 <tal:var define="thumbnails extension:thumbnails(context);
-				 image thumbnails.get_thumbnail('800x600', 'jpeg');
+				 image thumbnails.get_thumbnail('800x480', 'jpeg');
 				 size context.get_image_size();
 				 thumb_size image.get_image_size();">
 	<input type="hidden" name="selection.x1" />
--- a/src/pyams_file/zmi/templates/image-pano-thumbnail.pt	Thu Oct 12 22:22:44 2017 +0200
+++ b/src/pyams_file/zmi/templates/image-pano-thumbnail.pt	Fri Oct 13 08:56:41 2017 +0200
@@ -1,5 +1,5 @@
 <tal:var define="thumbnails extension:thumbnails(context);
-				 image thumbnails.get_thumbnail('800x600', 'jpeg');
+				 image thumbnails.get_thumbnail('800x480', 'jpeg');
 				 size context.get_image_size();
 				 thumb_size image.get_image_size();
 				 geometry thumbnails.get_geometry('pano');">
--- a/src/pyams_file/zmi/templates/image-selection.pt	Thu Oct 12 22:22:44 2017 +0200
+++ b/src/pyams_file/zmi/templates/image-selection.pt	Fri Oct 13 08:56:41 2017 +0200
@@ -1,5 +1,5 @@
 <tal:var define="thumbnails extension:thumbnails(context);
-				 image thumbnails.get_thumbnail('800x600', 'jpeg');
+				 image thumbnails.get_thumbnail('800x480', 'jpeg');
 				 size context.get_image_size();
 				 thumb_size image.get_image_size();
 				 geometry thumbnails.get_geometry(view.__parent__.selection_size);">
--- a/src/pyams_file/zmi/templates/image-square-thumbnail.pt	Thu Oct 12 22:22:44 2017 +0200
+++ b/src/pyams_file/zmi/templates/image-square-thumbnail.pt	Fri Oct 13 08:56:41 2017 +0200
@@ -1,5 +1,5 @@
 <tal:var define="thumbnails extension:thumbnails(context);
-				 image thumbnails.get_thumbnail('800x600', 'jpeg');
+				 image thumbnails.get_thumbnail('800x480', 'jpeg');
 				 size context.get_image_size();
 				 thumb_size image.get_image_size();
 				 geometry thumbnails.get_geometry('square');">