Last Updated: 19 Jan 2017 08:03 by ADMIN
Created on: 21 Dec 2013 12:24
Category: ImageEditor
Type: Bug Report
A large uploaded image is not saved properly after cropping in disabled CanvasMode
A large uploaded image is not saved properly after cropping in disabled CanvasMode. Instead of saving the cropped part of the image, the control is saving the original image resized to fit the cropped part size.

The issue is reproducible both by using the Save dialog (Save image on server) or the saveImageOnServer() method.

Steps to reproduce:

1. Open in IE8
2. Upload the attached image
3. Crop a part of it
4. Save the image on server

Result: The original image is resized with the crop-box dimensions.

Posted on: 27 May 2014 14:33
The problem is not in the ImageEditor control itself, but in the demo. Cropping and saving of the ImageEditor work correctly.

When the image is uploaded using the AsyncUpload, the ImageEditor control is updated through an AJAX postback, but not the AsyncUpload. As a result the state of the AsyncUpload is not updated and the image gets uploaded every time there is a AJAX postback - dialog opening, image saving, etc.

We will have it fixed and a working example will the live once we have our demos updated with the new version of the controls.
Martin Roussel
Posted on: 26 Dec 2013 16:26
Reloading the page immediately after the upload seems to be a workaround. But would prefer do without it if possible. Thanks!
Martin Roussel
Posted on: 21 Dec 2013 14:09
Also note that this issue is in IE8. Thanks