In image cropping library "cropit" everything works fine except it does not gives the valid cropped image url.The resulting url id invalid when I try to open it in browser. Even in the official doc example it opens invalid url. How to get correct cropped image url.
$imageCropper.cropit('export', {
type:'image/jpeg',
quality: .9,
originalSize:true
});
This code gives invalid url. Any other way please.