peterfreeman/ngx-dropzone

No svg preview support

nico-belonio opened this issue · 0 comments

See here:
https://bytemeta.vip/repo/peterfreeman/ngx-dropzone/issues/148

private renderImage() { this.readFile() .then(img => setTimeout(() => { this.imageSrc = typeof img === "string" ? this.sanitizer.bypassSecurityTrustUrl(img) : this.imageSrc = img })) .catch(err => console.error(err)); }

Thank you!