[BUGFIX] Calculate correct cropping for large images
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Resources / Private / Templates / Wizards / ImageManipulationWizard.html
index 2d3d92f..0d440f2 100644 (file)
@@ -85,8 +85,8 @@
 
                        <div class="modal-panel-body">
                                <div class="t3js-cropper-image-container">
-                                       <img src="{f:uri.image(image:image, maxWidth:'1600', maxHeight: '1024')}"
-                                                naturalWidth="{image.properties.width}" naturalHeight="{image.properties.height}" />
+                                       <img src="{f:uri.image(image:image, maxWidth:'1000', maxHeight: '700')}"
+                                                data-original-width="{image.properties.width}" data-original-height="{image.properties.height}" />
                                </div>
                        </div>