This content originally appeared on DEV Community and was authored by Andrew K
I rewrote and published a library for image zooming like in Medium. It’s Framework agnostic, small, dependencies free, and now (more or less) modern. The original library seemed to be abandoned for a few years now, and I needed some changes in it for my portfolio website, so I took it in my own hands.
The changes include, but are not limited to, adding a new method to swap zoomed images, updating event handlers to allow pinch-to-zoom on touch screens, rewriting to TypeScript, and modernizing the setup by changing most of the libraries and workflows.
https://github.com/SpasiboKojima/medium-zoom-next
I’ll be glad for any feedback!
A full changelog with some explanations is here:
https://github.com/SpasiboKojima/medium-zoom-next/pull/2
This content originally appeared on DEV Community and was authored by Andrew K
Andrew K | Sciencx (2025-09-22T17:13:19+00:00) Medium Zoom Next – JS library for image zooming. Retrieved from https://www.scien.cx/2025/09/22/medium-zoom-next-js-library-for-image-zooming/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.