# francoischalifour/medium-zoom

🔎🖼 A JavaScript library for zooming images like Medium

Repository: https://github.com/francoischalifour/medium-zoom
Canonical: https://ross.abutalabs.com/products/medium-zoom
Homepage: https://medium-zoom.francoischalifour.com
Language: JavaScript
License: MIT
License Family: permissive
Topics: image, picture, zoom, event, javascript, vanilla, vanilla-javascript, medium, ux, performance, image-zoom, zoomable, no-dependencies, zooming
Last push: 2025-12-20T14:35:29+00:00

## Health v2 (maintenance only)
Score: 49/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 58, release rhythm 8, longevity 100
- inputs: {"age_days": 3690, "days_push": 256, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3941, forks 168 (observed 2026-08-28T04:08:30.202826+00:00)

## What it is
A lightweight, dependency-free JavaScript library that zooms images on click, mimicking Medium's image zoom behavior. It supports responsive scaling, HD image loading on zoom, keyboard/gesture dismissal, and event handling.

## Use cases
- add medium-style image zoom to a blog
- make images clickable and zoomable on a static site
- load high-resolution image when user zooms
- accessible lightbox with keyboard and scroll to close
- zoom images in a vanilla javascript site without dependencies

## When to choose
- you want a tiny, zero-dependency image zoom effect
- you need Medium-like UX with events and HD image swapping
- you want framework-agnostic code usable in React, Vue, or plain HTML

## When to avoid
- you need a full lightbox with galleries, captions, and thumbnails
- you need zoom/pan on image regions rather than whole-image zoom
- your project requires a maintained framework-specific component

## Facets
- artifact type: library
- maturity: stable
- function: image-processing, animation, ui-components
- domain: frontend, web-development, media
- platform: browser
- tags: image-zoom, lightbox, vanilla-javascript, no-dependencies, ux, medium-style, javascript

## Member repositories
- francoischalifour/medium-zoom (main) score 49

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:30.202826+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:24:37.267773+00:00, confidence not recorded.
  - readme: https://github.com/francoischalifour/medium-zoom (fetched 2026-08-28T04:08:30.202826+00:00, sha 8141656eba82)
  - registry_npm: https://registry.npmjs.org/medium-zoom (fetched 2026-08-29T09:18:33.405822+00:00, sha 8f24bdef9595)
- Data as of 2026-08-30T08:39:29.467469+00:00.
