--- a/src/pyams_file/zmi/templates/image-selection.pt Tue Sep 25 11:29:52 2018 +0200
+++ b/src/pyams_file/zmi/templates/image-selection.pt Mon Oct 08 17:05:32 2018 +0200
@@ -4,8 +4,8 @@
thumb_size image.get_image_size();
geometry thumbnails.get_geometry(view.__parent__.selection_name);">
<input type="hidden" name="selection.x1" tal:attributes="value geometry.x1" />
- <input type="hidden" name="selection.y1" tal:attributes="value geometry.x2" />
- <input type="hidden" name="selection.x2" tal:attributes="value geometry.y1" />
+ <input type="hidden" name="selection.y1" tal:attributes="value geometry.y1" />
+ <input type="hidden" name="selection.x2" tal:attributes="value geometry.x2" />
<input type="hidden" name="selection.y2" tal:attributes="value geometry.y2" />
<img class="imgareaselect"
data-ams-imgareaselect-parent=".modal-dialog"