MattWilcox/Adaptive-Images
Automatically adapts your existing HTML images for mobile devices. No mark-up changes needed. observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license no_readme
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5486
- days_rel: n/a
- days_push: 2409
- n_releases_24m: 0
Adoption not part of the score
1753 stars · 224 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A PHP-based solution that automatically detects a visitor's screen size and delivers appropriately re-scaled, cached versions of a site's HTML images without requiring any markup changes. It works via an .htaccess rewrite, a small JavaScript snippet that stores screen size in a cookie, and a PHP script that resizes and caches images on the fly.
Use cases
- serve smaller images to mobile devices without changing img tags
- reduce bandwidth costs for image-heavy responsive websites
- add responsive image support to an existing site with minimal setup
- automatically cache resized image variants per breakpoint
- support retina displays with appropriately sized images
- speed up page loads on slow, low-bandwidth mobile connections
When to choose
- you have an existing PHP site (Apache or nginx) and cannot modify image markup
- you want a quick, drop-in responsive images solution with minutes of setup
- your CMS cannot generate multiple image resolutions itself
- you want automatic caching of downscaled image versions per screen size
When to avoid
- your stack is not PHP (e.g. Node, Python, static site generators)
- you can use modern native solutions like srcset, picture element, or a CDN image service
- you need WebP/AVIF support or advanced image optimization
- you are starting a new project - modern responsive image standards are preferable
Facets
library · maturity maintenance
image-processing caching web-framework web-development frontend image-processing mobile-development php self-hosted responsive-images adaptive-images htaccess gd-library mobile-web no-markup-changes image-resizing retina-display web-server linux
2 sources
- homepage: http://adaptive-images.com/ · fetched 2026-08-29 · f6e5b5169488
- site_page: https://adaptive-images.com/details.htm · fetched 2026-08-29 · 8c02627f216a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| MattWilcox/Adaptive-Images | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="MattWilcox/Adaptive-Images")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem