=== Media Library Doctor ===
Contributors: elixapps
Tags: media health, unused images, duplicate images, missing alt, image audit
Requires at least: 5.6
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Audit, analyze, and optimize your WordPress Media Library: find unused images, duplicates, missing ALT text, huge files, and view health stats.

== Description ==

Media Library Doctor is a comprehensive media library optimization and audit plugin for WordPress. It scans your media attachments to identify performance bottlenecks, orphaned files, duplicate uploads, and SEO accessibility issues.

= Key Features =
* **Media Statistics & Health Score:** Overview of total files, storage breakdown, format distribution, and real-time health score calculation.
* **Unused Images Finder:** Detect detached images not used in posts, pages, widgets, featured images, or postmeta.
* **Huge Images Audit:** Flag oversized files and massive resolution images with configurable thresholds.
* **Duplicate Image Finder:** Identify duplicate image uploads using MD5 file hashes.
* **Missing ALT Text Editor:** Inline quick-edit interface to add missing ALT text directly or auto-generate draft ALT tags.
* **Missing Dimensions Repair:** 1-Click tool to recalculate and restore missing image width and height metadata.

== Installation ==

1. Upload the `media-library-doctor` folder to your `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Access 'Media Health' from the WordPress Admin sidebar menu.

== Frequently Asked Questions ==

= Does deleting an unused image permanently remove it? =
Yes, deleting an attachment removes the file and its metadata permanently. Always ensure you have a site backup before deleting files.

== Changelog ==

= 1.0.1 =
* First commit.

= 1.0.0 =
* Initial public release.
