Zooming is often used on a product image to enlarge it for better viewing by potential customers. So here are 21 Zoom Javascript Libraries For Web & Mobile that will let you zoom any HTML elements.
OpenSeadragon
An open-source, web-based viewer for zoomable images, implemented in pure JavaScript.
Zoomooz
An easy-to-use jQuery plugin for making zooming web pages.
Zooming
Image zoom that makes sense.
svg-pan-zoom library
Simple pan/zoom solution for SVGs in HTML. It adds events listeners for mouse scroll, double-click and pan, plus it optionally offers: JavaScript API for control of pan and zoom behavior, onPan and onZoom event handlers, On-screen zoom controls.
Uber Zoom
Next-gen smooth zoom & pan for your images and photos. It uses many features that you would normally find in a native iOS or Android app to improve the user experience, like rubberbanding and intertia. You can enable fullscreen support to give your users a truly immersive experience when viewing your high resolution photos and images. Works on desktop and mobile!
Zoomerang
Zoom in, zoom out on (almost) anything in your page.
ZOOM.JS
A simple jQuery plugin for image zooming; as seen on Medium.
Magnifier
Javascript library enabling magnifying glass effect on an images.
Wheelzoom
A small script for zooming IMG elements with the mousewheel/trackpad. Wheelzoom works by replacing the img element’s src with a transparent image, then using the original src as a background image, which can be sized and positioned. Wheelzoom is dependency free, doesn’t add any extra elements to the DOM, or change the positioning of the IMG element.
iScroll
iScroll is a high performance, small footprint, dependency free, multi-platform javascript scroller. iScroll does not just scroll. It can handle any element that needs to be moved with user interaction. It adds scrolling, zooming, panning, infinite scrolling, parallax scrolling, carousels to your projects and manages to do that in just 4kb. Give it a broom and it will also clean up your office.
Zynga Scroller
Accelerated panning and zooming for DOM and Canvas.
Drift
Easily add “zoom on hover” functionality to your site’s images. Lightweight, no-dependency JavaScript.
Bigpicture
Bigpicture.js is a library that allows infinite panning and infinite zooming in HTML pages.
Fabric.js
Fabric.js is a powerful and simple Javascript HTML5 canvas library. It allows you to zoom in / zoom out html5 canvas with the mouse wheel.
Cropit
A “customizable crop and zoom” jQuery plugin.
PinchZoom
A Javascript library providing multi-touch gestures for zooming and dragging on any DOM element. Works on both iOS and Android.
Panzoom
Extensible, mobile friendly pan and zoom framework (supports DOM and SVG).
ZooMove
It’s a plugin developed with jQuery, that allows to dynamically zoom images with mouseover, and view details with mouse move.
Zoomwall
A content-focused photo gallery using a horizontal masonry layout that scales up in lightbox mode.
Lightense Images
A dependency-free pure JavaScript image zooming library less than 2 KB (gzipped).
Magnificent.js
Zoom responsively. A jQuery plugin for responsive zoom of images & more!