Angular image upload component with preview and cropping features
Demo
See demo here: demo
Install
npm install ngx-image-uploader --save
Usage
Add image uploader module to your module's imports
;;; ; @ {}
Use it in your component
;; @ options: ImageUploaderOptions = thumbnailHeight: 150 thumbnailWidth: 150 uploadUrl: 'http://some-server.com/upload' allowedImageTypes: 'image/png' 'image/jpeg' maxImageSize: 3 ; { console; }