You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add audit tool to identify media attachments missing local original files #1231
Problem: When image offloading was enabled or plugins were disconnected, site owners who wish to restore local files or check media library health have no automated way to determine which Media Library entries are missing local physical files in /wp-content/uploads/.
Desired Behavior: Provide a bulk diagnostic check/audit tool in Optimole settings (or Media Library) that scans Media Library attachments, verifies local file existence on the server, and outputs a list/CSV of missing files to streamline targeted backup restoration.
Acceptance Criteria:
A scanner tool in Optimole admin settings that checks attachment metadata against server disk paths.
Displays a summary and detailed report of attachments whose local original files return 404 / file not found.
Allows exporting the list of missing file paths/IDs to assist with selective manual or backup restoration.
Customer Context
The customer has offloaded images that were deleted from cloud storage after account expiration. They have standalone image backups but need a quick automated method to figure out which specific image files are missing locally so they don't have to check thousands of product images manually.
Root Cause Analysis
The customer needs to repair broken image paths on their site by restoring only the missing files from local backups. Optimole currently lacks any built-in diagnostic scan or missing-file inventory tool to check WordPress Media Library attachments against local physical disk availability. Site owners must manually inspect file paths or use third-party tools to identify missing originals.
Source:HelpScout #3344740257 Generated by feature-request-triage workflow (ID: feature-request-triage_6aee4e0852bbc5.14091123)
Activity