wittlock / ngx-image-zoom

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

Not Working with Angular12 #144

Open husainsr opened 11 months ago

husainsr commented 11 months ago

There is no output and no error while i am using this library with angular12

husainsr commented 11 months ago

Issue

Height and Width Issue, how to solve it ?

SimonJ-DR commented 11 months ago

I've added some resize logic in my code to scale the images as I wanted them. You can use the (imagesLoaded) emitter on the ngx-image-zoom element to run a method to resize them. I'm guessing your issue comes from something else, possibly the source image, further debugging might solve it.