No svg preview support
nico-belonio opened this issue · 0 comments
nico-belonio commented
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!