=== Lazy Load Images ===
Contributors: snehalpancholi
Tags: lazy load, performance, images, iframes, core web vitals
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.1
Stable tag: 1.0.0
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Adds native loading="lazy" to images and iframes in post content with LCP-safe first-image skip.

== Description ==

Lazy Load Images uses the browser-native `loading="lazy"` attribute to defer off-screen images and iframes. No JavaScript required — it works at the HTML level, making it compatible with every caching plugin and CDN.

**Features**

* Lazy-load `<img>` tags in post content
* Lazy-load `<iframe>` tags (YouTube, Vimeo, maps, etc.)
* Skip the first image to protect your Largest Contentful Paint (LCP) score
* Optionally extend to widget areas
* Zero JavaScript — pure HTML attribute injection
* Existing `loading` attributes are never overwritten

== Installation ==

1. Upload the `lazy-load-images` folder to `/wp-content/plugins/`.
2. Activate the plugin from **Plugins → Installed Plugins**.
3. Configure at **Settings → Lazy Load Images**.

== Frequently Asked Questions ==

= Does this work with page builders? =
It filters `the_content`, so it works with any builder that outputs standard HTML. Widget support covers Classic and Block widget areas.

= Will it break my LCP score? =
Enable "Skip first image" and the first `<img>` in each post keeps its default eager-loading behaviour, protecting LCP.

= Does it override existing loading attributes? =
No. Any tag that already has a `loading` attribute is left untouched.

== Changelog ==

= 1.0.0 =
* Initial release.

== Screenshots ==

1. Settings page showing lazy-load toggles and apply-to scope.
