ngx-uploader
ngx-uploader copied to clipboard
How to upload cropped image or update original image after crop
I'm cropping image before upload to server so integrated cropping module. I want to upload cropped image to server but uploading original image. Following function get called on crop success.
startUpload(): void { const event: UploadInput = { type: 'uploadAll', url: 'server path' method: 'POST', headers: 'custom header', file: this.croppedImage, };
this.uploadInput.emit(event);
}
Hey @kharatps02 - were you able to figure out how to do this?
any one achieve this ? I would like to crop the image before uploading
@tibinvpaul @xts-velkumars Did you guys find a way to achieve this?