lazysizes
Automatically loads images, iframes and background pictures only when they scroll into view, boosting page speed and SEO without extra configuration.
- •Your landing page has many hero or product images and you want faster first‑paint times.
- •You serve responsive images (srcset, picture) and need lazy‑loading to work out‑of‑the‑box.
- •You want a zero‑config solution that also works for iframes or CSS background images.
<!-- Example: lazy‑loading a responsive picture element --> <picture class="lazyload" data-iesrcset="/images/fallback.jpg"> <source data-srcset="/images/hero-800.webp 800w, /images/hero-1600.webp 1600w" type="image/webp" data-sizes="auto"> <source data-srcset="/images/hero-800.jpg 800w, /images/hero-1600.jpg 1600w" data-sizes="auto"> <img class="lazyload" data-src="/images/hero-800.jpg" alt="Product" width="1600" height="900"> </picture>
Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
Installs with a command or two; your AI agent can do it for you.
mkdir -p ~/.claude/skills/lazysizes && curl -fsSL https://workflowstacks.com/api/skills/lazysizes/claude-skill -o ~/.claude/skills/lazysizes/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Lazysizes is a medium JavaScript project (~7k lines across 59 code files, plus 4 test files). Setup is light: installs like a normal app. Reading the code is optional. Last commit 29 months ago, MIT license, has a test suite.
- 1README.mdStart here — what it does and how to install it
- 2package.jsonDependencies and the commands it exposes
- 3src/lazysizes-core.jsInside src/ — the main logic begins here
Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
Installs with a command or two; your AI agent can do it for you.
mkdir -p ~/.claude/skills/lazysizes && curl -fsSL https://workflowstacks.com/api/skills/lazysizes/claude-skill -o ~/.claude/skills/lazysizes/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Are you the creator of this tool? and earn 85% of every sale.
Show it off in your README:
[](https://workflowstacks.com/skills/lazysizes?utm_source=github&utm_medium=badge)The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.
Do this with a working workflow
Pages we wrote and tested that put a skill like this to work — importable n8n templates, outcome guides and Claude Desktop configs.
Rank Tracker
A weekly email of where you actually rank on Google.
Includes the tested workflow and a written setup playbook. Needs: SerpAPI key (free tier).
Related skills
More marketing tools founders pair with this one.