ngx-uploader icon indicating copy to clipboard operation
ngx-uploader copied to clipboard

How to upload cropped image or update original image after crop

Open kharatps02 opened this issue 6 years ago • 3 comments

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);

}

kharatps02 avatar Nov 22 '18 14:11 kharatps02

Hey @kharatps02 - were you able to figure out how to do this?

tibinvpaul avatar Feb 24 '19 17:02 tibinvpaul

any one achieve this ? I would like to crop the image before uploading

xts-velkumars avatar Jul 16 '21 14:07 xts-velkumars

@tibinvpaul @xts-velkumars Did you guys find a way to achieve this?

koaladlt avatar Aug 21 '23 19:08 koaladlt