Removed JPEG format from thumbnails selection forms
authorThierry Florac <tflorac@ulthar.net>
Sun, 26 Nov 2017 10:03:30 +0100
changeset 68 68e169f03e5e
parent 67 2a9b54ee7dd3
child 69 1583d65a8c44
Removed JPEG format from thumbnails 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	Sun Nov 26 10:02:49 2017 +0100
+++ b/src/pyams_file/zmi/templates/image-crop.pt	Sun Nov 26 10:03:30 2017 +0100
@@ -1,5 +1,5 @@
 <tal:var define="thumbnails extension:thumbnails(context);
-				 image thumbnails.get_thumbnail('800x480', 'jpeg');
+				 image thumbnails.get_thumbnail('800x480');
 				 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	Sun Nov 26 10:02:49 2017 +0100
+++ b/src/pyams_file/zmi/templates/image-pano-thumbnail.pt	Sun Nov 26 10:03:30 2017 +0100
@@ -1,5 +1,5 @@
 <tal:var define="thumbnails extension:thumbnails(context);
-				 image thumbnails.get_thumbnail('800x480', 'jpeg');
+				 image thumbnails.get_thumbnail('800x480');
 				 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	Sun Nov 26 10:02:49 2017 +0100
+++ b/src/pyams_file/zmi/templates/image-selection.pt	Sun Nov 26 10:03:30 2017 +0100
@@ -1,5 +1,5 @@
 <tal:var define="thumbnails extension:thumbnails(context);
-				 image thumbnails.get_thumbnail('800x480', 'jpeg');
+				 image thumbnails.get_thumbnail('800x480');
 				 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	Sun Nov 26 10:02:49 2017 +0100
+++ b/src/pyams_file/zmi/templates/image-square-thumbnail.pt	Sun Nov 26 10:03:30 2017 +0100
@@ -1,5 +1,5 @@
 <tal:var define="thumbnails extension:thumbnails(context);
-				 image thumbnails.get_thumbnail('800x480', 'jpeg');
+				 image thumbnails.get_thumbnail('800x480');
 				 size context.get_image_size();
 				 thumb_size image.get_image_size();
 				 geometry thumbnails.get_geometry('square');">