Local WordPress media diagnostics
Make media lighter without losing the detail readers need
The smallest preview does not decide the file size
A product photograph may appear as a small card and as an enlarged detail view. Reducing the original to fit the card alone can leave the enlarged view soft.
Check the largest important use, the file the browser actually downloads and the display’s pixel density. A 600-pixel-wide display area at 2× density can need a 1200-pixel-wide image, provided the original has enough detail.
The illustration shows one photograph used at two scales. Keep the pattern clear in the larger view as you reduce the file’s dimensions and byte size.
One source, two uses: the small preview and the enlarged detail both need to work after replacement.
Read the file in its page context
File weight and dimensions
Where the attachment appears
Measured display size
A compatible replacement
Scan, prepare and replace one file at a time
1. Run the local scan
wp devenia-speed-optimization scan.2. Review the real page uses
speed-optimization/list-render-candidates and save measurements with speed-optimization/record-render-measurements.3. Prepare the smaller file
4. Register and confirm
speed-optimization/create-repair-job, then speed-optimization/register-replacement with the original and replacement attachment IDs. Apply it through speed-optimization/apply-replacement with confirm: APPLY_REPLACEMENT. The plugin checks the file again and creates a local backup before replacing it.5. Check the result
speed-optimization/restore-original with confirm: RESTORE_ORIGINAL.Know the scope before you start
Requires WordPress 6.9 or later and PHP 7.4 or later. Scans and all abilities require site administration permission. Replacing or restoring a file also requires permission to upload files and edit the attachment.
Files must be available locally in WordPress uploads. Backups need disk space. Restore anything you need before uninstalling: removing the plugin deletes its settings and backup index.
Review the defaults
Fresh installations enable daily scans and email alerts for changed results, sent to the WordPress administrator address. Review these choices before leaving the plugin active.
The default scan checks the newest 250 attachments. The limit can be set from 25 to 5,000; a report retains up to 100 prioritised candidates. Savings and delay figures are estimates, not measured speed gains.
For developers and integrations
The plugin provides 15 abilities under speed-optimization/ for settings, scans, reports, measurements, repair jobs, replacements and backups. Use speed-optimization/get-settings to read the current configuration.
WordPress owns attachments and metadata. The plugin keeps the target attachment and its file URL during a same-format replacement. Page caches and the visual check remain part of your site’s normal workflow.
