10 Best Image Zoom JavaScript & CSS Libraries For 2018

This is the 10 best JavaScript and/or CSS libraries to zoom your images within the document for better user experience. I hope you like it and don’t forget to spread the world.

Originally Published Dec 17 2017, updated Dec 3rd 2018

1. Drift


Demo Download

Drift is a standalone and highly configurable JavaScript library that provides responsive, smooth hover (or touch) zoom effect on images.

2. Lightense.js


Demo Download

Lightense.js is a lightweight and simple to use JavaScript library for image zooming as you seen on Medium.com.

3. medium-zoom

Pure JavaScript Medium-style Image Zoom Library - medium-zoom

Demo Download

medium-zoom is a lightweight and dependency-free JavaScript library used for creating a responsive, user-friendly image zoom / lightbox effect as seen on Medium.com pages.

4. Image Zoom


Demo Download

Image Zoom is a pure JavaScript library that provides an intelligent zoom experience on your web images. Inspired by Medium’s image zoom.

5. Detail View

Image Zoom & Pan On Hover – Detail View

Demo Download

Detail View is a vanilla JavaScript approach to zooming and panning an image on hover.

6. view-bigimgDetail View

Touch-enabled Image Viewer In Pure JavaScript – view-bigimg

Demo Download

view-bigimg is a JavaScript library which displays your image in a lightbox popup, with the capability of touch-friendly image zooming and image panning.

7. Image Magnify/Zoom Component With Vanilla JavaScript

Image Magnify/Zoom Component With Vanilla JavaScript

Demo Download

The JavaScript image zoom component creates a magnifier-style mask over your image to view the portion of the image that you are hovering over.

8. focus.js

Smooth Interactive Inner Zoom In Vanilla JavaScript – focus.js

Demo Download

focus.js is an ES6/Vanilla JavaScript plugin to provide smooth interactive image inner zoom functionality that reacts to mouse movement.

9. Panzoom

Pan & Zoom Image Using JavaScript And CSS3 Transforms – Panzoom

Demo Download

Panzoom is a lightweight JavaScript library to pan and zoom images inside a container using drag and mouse wheel events.

10. Dead Simple Image Zoom In JavaScript – lumos

Dead Simple Image Zoom In JavaScript – lumos

Demo Download

lumos is an ultra-light (1kb minified), dead simple and high-performance image zoom library written in pure JavaScript.