Open sakshisyscom opened 6 years ago
1.- Export image in base64 (result method) 2.- Send to server via Ajax:
$.ajax({ type: "POST", url: "script.php", data: { imgBase64: dataURLBase64 } }).success(function(o) { alert('saved'); });
3.- Save it in server-side: https://stackoverflow.com/questions/13198131/how-to-save-an-html5-canvas-as-an-image-on-a-server
Successful in saving it to folder. Thanks for your kind help.
Expected Behavior
Cropping is going proper and showing in alert, i want that cropped image after cropping in demo folder of images.
Actual Behavior
Showing selected portion of image in alert .
Steps to Reproduce the Problem
1.Click on get result button. 2.It shows cropped image in alert. 3.I want to get that image in demo folder of images.
Example Link
Specifications