Mobile-friendly jQuery Image Magnifier Plugin - imagezoom

File Size: 6.86 KB
Views Total: 11658
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
Mobile-friendly jQuery Image Magnifier Plugin - imagezoom

Yet another jQuery image zoom plugin which creates a magnifying glass effect to magnify your image on mouse hover. The plugin also works nicely on mobile/touch devices that enable you to zoom image via pinch actions.

How to use it:

1. Add the latest version of jQuery library and the jQuery imageZoom plugin to the html file.

<script src="//"></script>
<script src="jquery.imagezoom.js"></script>

2. Embed the small image into a DIV element containing the large image specified using data-zoom attribute as follow:

<div data-zoom="large.jpg" class="zoom">
  <img src="small.jpg">

3. Style the image zoom area.

.zoom {
  max-width: 600px; 
  overflow: hidden;

img {
  width: 100%;
  height: auto;

.jsZoomTouch:after {
  content: 'Pinch to Zoom';
  position: absolute;
  top: 0;
  right: 0;

4. Active the image zoom effect by calling the function on the DIV element like this:


This awesome jQuery plugin is developed by jansson. For more Advanced Usages, please check the demo page or visit the official website.