Ross ROSS = Recommend OSS · open-source software intelligence for agents

RevillWeb/img-2

Replace <img /> elements with <img-2> to automatically pre-cache images and improve page performance. observed · 2026-08-28

github.com/RevillWeb/img-2 · HTML · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

32/100

  • Activity 0
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

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: 3188
  • days_rel: n/a
  • days_push: 3025
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1881 stars · 63 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

Img2 is a web component library that replaces standard <img> elements with an <img-2> custom element to pre-cache images off the main thread and lazy load them as they enter the viewport. It displays blurred low-resolution previews while full-size images load, improving perceived page performance.

Use cases

  • lazy load images as they scroll into view
  • pre-cache images with a web worker to avoid jank
  • show blurred placeholder previews while images load
  • improve initial page load performance with many images
  • replace img tags with a drop-in web component

When to choose

  • you want a simple drop-in replacement for <img> with lazy loading and pre-caching
  • your page displays many high-quality images and suffers from slow initial load or jank
  • you want blurred placeholder previews without writing custom JavaScript

When to avoid

  • you need an actively maintained solution - the project has had no releases since 2018
  • you already use a modern framework with built-in image optimization or a maintained lazy-loading library
  • you need advanced features like responsive srcset or art direction

Facets

library · maturity maintenance

image-processing ui-components caching web-development frontend performance browser web-components lazy-loading image-optimization custom-elements web-worker progressive-image-loading web-server

1 source

Member repositories

RepositoryRoleHealth v2
RevillWeb/img-2main32

For agents

markdown · JSON · MCP: product_card(name="RevillWeb/img-2")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem