=== Jadav Image Load Fallback ===
Contributors: jadavsanjay
Tags: broken images, missing images, fallback, image fallback
Requires at least: 5.6
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Replace broken or missing images with a custom fallback image and optionally ignore selected images with CSS selectors.

== Description ==

Jadav Image Load Fallback is a lightweight plugin that detects frontend images that fail to load and replaces them with a fallback image chosen by the site owner.

It is useful after migrations, media cleanup, content imports, CDN issues, or when third-party image URLs stop working.

= Features =

* Replace broken images with a selected fallback image
* Works asynchronously after the page loads
* Watches lazy-loaded and dynamically added images
* Ignore selected images with CSS selectors
* Simple settings page with media library image selection
* No external service required

== Installation ==

1. Upload the plugin files to `/wp-content/plugins/jadav-image-load-fallback/` or install the ZIP through WordPress admin.
2. Activate the plugin through the Plugins screen.
3. Go to Image Fallback in the WordPress admin menu.
4. Select or enter your fallback image URL.
5. Save settings.

== Frequently Asked Questions ==

= Can I use my own fallback image? =

Yes. You can choose an image from the WordPress media library or paste an image URL.

= Can I stop the plugin from changing specific images? =

Yes. Add CSS selectors in the Ignored Images setting. For example, use `.site-logo img` to skip a site logo.

= Does this slow down the website? =

The script runs after the page loads and processes images in small batches.

== Changelog ==

= 1.0.0 =
* Initial release.
* Added custom fallback image setting.
* Added lazy-loaded image support.
* Added ignored images setting with CSS selectors.

== Credits ==

This plugin is licensed under GPLv2 or later and uses only local plugin assets.
