ngx-image-uploader
ngx-image-uploader copied to clipboard
Pre set the preview image
How can i pre set the image?
If you are using it in a form you can use it as a regular form component and pass image url to formControlName property: <ngx-image-uploader formControlName="url"></ngx-image-uploader>
Otherwise you can call from your component imageUploader.loadAndResize(someUrl)
Sorry, i got this error, when I try to call this.imageUploader.loadAndResize('assets/img.jpg')
'TypeError: Cannot read property 'authToken' of undefined'

I will check later today. It seems like it's a bug..