Skip to content
NINJA
← All plugins
WordPressPerformance
NINJA Lazy Load icon

NINJA Lazy Load

Granular native lazy-loading for images, iframes and video — faster first paint with per-type controls and an above-the-fold skip count.

// features
  • Per-type controls — independently toggle lazy-loading for post-content images, iframes (embedded video, maps), featured images, and text-widget images.
  • CSS-class exclusions — enter one class substring per line; any image or iframe whose class contains that string is left completely untouched.
  • Already-attributed elements respected — if an image or iframe already carries a loading attribute, the plugin leaves it alone.
  • Pure DOMDocument parsing — no fragile regex on HTML; robust against nested attributes, multi-line tags, and unusual markup.
  • No JavaScript — relies entirely on the browser's built-in lazy-loading support (all modern browsers). Nothing is enqueued on the front end.
// overview

What it does

NINJA Lazy Load gives you precise control over WordPress native lazy-loading. Choose exactly which media types defer (images, iframes, embedded video), skip the first N images so your hero never flickers, and exclude specific classes or pages — improving Largest Contentful Paint without a heavy JavaScript library.

Self-contained and free — built in the ninja.si plugin workshop. Need a tailored variant? Open a brief via /request.

// adapt or extend
Need NINJA Lazy Load customized?

Open a ticket and we'll scope the change. We add features, swap providers, or branch the plugin entirely if you need something close-but-not-quite.