Not only images, the library also works with Canvas and SVG elements.
How to use it:
Download and import the minified version of the Panzoom library into the html file.
Insert images to the webpage.
Apply the PanZoom functionality to the images.
| PanZoom(“.panzoom”); |
Customize the PanZoom functionality with the following options.