bleenco / ngx-uploader

Angular File Uploader
https://ngx-uploader.jankuri.me
MIT License
756 stars 348 forks source link

How to upload cropped image or update original image after crop #480

Open kharatps02 opened 5 years ago

kharatps02 commented 5 years ago

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

}

tibinvpaul commented 5 years ago

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

xts-velkumars commented 3 years ago

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

koaladlt commented 1 year ago

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