Pinch and zoom touch event for image (Not ion-scroll)


#1

Hello, is there a way for me to add a “pinch” and “zoom” gesture recognition for a img src? I know <ion-scroll> allows for zoom and pan, but I don’t want that. What I want is when a person pinches or drags one of my image, I want the bounding box of the image to increase – in other words, the window of the image should increase - I’m not looking for the image to zoom or move inside its box.

As a visual reference please see here. Upon zoom gesture, the image should increase like here. I already have the logic built in for the window increase, which I am doing today by detecting long-press. I want to replace it with a pinch and zoom gesture.

thanks