wittlock/ngx-image-zoom

Why hello - I was playing around with this issue trying to fix it within the package itself.

Opened this issue · 0 comments

          Why hello - I was playing around with this issue trying to fix it within the package itself. 

I managed to fix how it displayed in the screen, but in an attempt to fix the zooming - I got something stranger and for my particular needs better than the original.

The picture now shows up on the screen perfectly fitting the container.
Did so with a few inputs, a few if commands, and an appropriate scaling.

But now instead of only zooming in on the area you choose - the entire image pops out, and you move around it using the mouse. The mousewheel will zoom in and out.

Strangely better than what I expected. I don't know how I did the second part, and I'm too scared to ruin it. I implemented rotating for my older img file and will be attempting to do it to this as well.

Originally posted by @dhruvg0001 in #6 (comment)