# img-2

Replace &lt;img /&gt; elements with &lt;img-2&gt; to automatically pre-cache images and improve page performance.

Canonical page: https://www.reposhelf.co.uk/projects/github/revillweb/img-2.html

- Project ID: RevillWeb/img-2
- Source: GitHub
- Original project: https://github.com/RevillWeb/img-2
- Description attribution: project author metadata
- Categories: Other
- Technologies: Not recorded
- Licence: MIT
- Repository availability checked: 2026-11-04T21:16:42.478Z
- Demo page loaded: 2026-11-20T19:13:34.680Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> Replace elements with to automatically pre-cache images and improve page performance. Displaying even a small number of high-quality images on a web page can be difficult to do without causing jank or slowing down the initial load of the page. This is why clever developers employ techniques with JavaScript to pre-cache images and lazy load them as they become visible on the user's screen.

> Img2 makes this super easy, just swap out your elements with and let it do the work for you.



## Author-documented requirements and audience

> Replace elements with to automatically pre-cache images and improve page performance. Displaying even a small number of high-quality images on a web page can be difficult to do without causing jank or slowing down the initial load of the page. This is why clever developers employ techniques with JavaScript to pre-cache images and lazy load them as they become visible on the user's screen.





Not recorded: Account, External API key, Paid service, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/RevillWeb/img-2/blob/master/README.md

Extraction checked: 2026-10-27T08:10:08.254Z

Last recorded source update: 2018-05-22T16:11:30.000Z

Saved release: Not recorded. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=RevillWeb%2Fimg-2). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
