wittlock / ngx-image-zoom

Angular component for zoomable images
https://wittlock.github.io/ngx-image-zoom/
MIT License
133 stars 64 forks source link

Fallback in case of missing thumbnail #148

Open aleksz opened 8 months ago

aleksz commented 8 months ago

It would be great to have an option to fallback to full sized image if thumbnail image is missing. I'm using <img (error)="fallback()" /> to handle such cases in other places, but currently have to make explicit checks for existence of thumbnail image before rendering ngx-image-zoom.