simplezoom.js
A tiny JavaScript library to preview images, better way!
No-build verifiedStable0 dependenciesScript tagMIT
Facts
| Size | 3.2 KB minified, 1.3 KB gzipped (simplezoom.js) |
|---|---|
| Licence | MIT |
| Dependencies | none |
| Last release | v0.2.0, May 2016 |
| Last activity | 2025-04-08 (Stable) |
| Stars | 85 on GitHub |
| Formats | classic script |
| CDN hits | 4 a month on jsDelivr |
| npm downloads | 9 a month |
| Gates | G1 passed (no runtime dependencies); G2 passed (loads in a browser as it is); G3 passed (no compile-only entry points); G4 passed (open-source licence); G5 passed (not archived or deprecated). Smoke test on v0.2.0 in headless Chromium, 2026-10-30 |
Load it
Pin the version. The hash is computed from the file jsDelivr serves, so a changed file fails to load instead of running.
<script src="https://cdn.jsdelivr.net/npm/[email protected]/simplezoom.js"
integrity="sha384-a8SUa8NP2F2t8zV1HVuUZIt/sFhXG4QM+Son5/HRwZlcryziKSKnSCX55Fz9aPQo" crossorigin="anonymous"></script>Advertisement
Related libraries
- Popbox.js A tiny and simple stackable modal plugin for web apps
- ThreeSixty.js Transforms image sprite into 360 image view. Vanilla js, no dependancies.
- Swipe 2 Swipe is the most accurate touch slider. Support both React and Angular.
Entry 114 in the directory. Facts refreshed monthly; last run 2026-10-30.