Linux 软件免费装
Banner图

Lucid Lab Media & Products Cleanup

开发者 vanschaik12
更新时间 2026年11月13日 05:21
PHP版本: 8.1 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

media woocommerce cleanup thumbnails duplicate images

下载

6.1.23 6.1.25 6.1.24

详情介绍:

Lucid Lab Media & Products Cleanup finds unused, duplicate and missing media in your WordPress library and helps you clean it up safely. Nothing is deleted without your confirmation, and files go to a restorable quarantine first. Free includes: The source code of this Free plugin is on GitHub: https://github.com/lucidlab-eu/mpc Safety

安装:

  1. Install and activate this Free core.
  2. For premium features install and activate the separate Media & Products Cleanup Pro ZIP.
  3. Both editions use the same settings, queues and recovery records. No data migration is required.
  4. Deactivate Pro to return to Free. Do not delete quarantine folders manually.
  5. Uninstall preserves recovery data and settings for reinstallation.

屏幕截图:

  • Change image on Shared Images: upload a replacement file (Free) or pick another image (Pro), with Undo.
  • Product AI review (Pro): current text next to the suggested title, descriptions, tags and alt text, applied field by field.
  • WebP/AVIF conversion: failures counted per reason, with a downloadable failure list (CSV).
  • Debug logging notice with since, log size, switch-off date and Turn off.
  • "Go to page" box next to the pager on long result lists.
  • Byte Identical Images: groups of identical files with the space they would free, and a Merge button per group.
  • Left menu grouped under section headers.

升级注意事项:

6.1.25 When "Quarantine the original images after conversion" is ticked, originals that already have a WebP or AVIF copy are now quarantined too, including when Skip existing or Convert missing skips the conversion. Links to the old file are updated and can be restored. On Nginx, images stay visible without server configuration. No action is needed. 6.1.24 Thumbnails that cannot be shown now show a "No preview" box instead of a broken image. No action is needed. 6.1.23 Finds more images that are in use: WPBakery galleries, Beaver Builder layouts, ACF image fields on options pages, plus two developer filters for custom tables and code. The next scan rebuilds the reference index once. 6.1.22 Starting a job while the same job is still running, paused or waiting for a slot is now refused with a clear message instead of replacing it. No action is needed. 6.1.21 WooCommerce, Action Scheduler and WordPress core tables are now always protected from table quarantine. With Pro 6.1.9, run a new Database Cleaner scan before moving tables to quarantine. 6.1.18 Every Quarantine section now has a "Restore all in this section" button next to "Purge all in this section". It restores every set in that section with one click and asks for confirmation first. Restoring a set or an item no longer reloads the page; the restored set disappears at once and the other buttons come back immediately. No action is needed. 6.1.17 New WebP and AVIF copies are now written next to the original image in the uploads folder instead of in the plugin's own folder, so an image and its copy stay together. When a smaller copy already exists it is kept and moved to uploads/lucidlab-mpc-cleanup/replaced/ first, where it can be put back. Existing copies in the plugin folder keep being served. No action is needed. 6.1.16 Some attachments record a WebP copy that has since been deleted, while the original image is still in the uploads folder. Regenerate Thumbnails now rebuilds the sizes from that original and points the attachment back at it, so those product images show again. Run Regenerate Thumbnails again to repair them. No other action is needed. 6.1.15 Regenerate Thumbnails now finds images whose WebP/AVIF copy was moved to the plugin's uploads folder: it rebuilds the thumbnails from the copy that exists on disk, and missing-image reports stop listing those images. Run Regenerate Thumbnails again to build the sizes. No other action is needed. 6.1.14 Regenerate Thumbnails now finds attachments whose stored path starts with a slash or otherwise points at a file that no longer exists: it uses the file named in the attachment metadata, repairs the record and rebuilds the sizes, so images stay visible. No action is needed. 6.1.13 Quarantine restore now puts files back in this site's uploads folder, also when the set came from another server. The unused-image scan and the Pro Uploads Scanner now read Code Snippets. No action is needed. 6.1.12 Scan jobs no longer pile up as paused rows when several start in one WP-Cron request. No action is needed. 6.1.11 Checkboxes and radio buttons on the Lucid Lab admin screens now match the other Lucid Lab plugins, also on WordPress 7.1. No action is needed.

常见问题:

Does Free stop working after a trial or image quota?

No. Free has no trial period or image-count limit.

Does Pro require an AI API key?

Pro AI supports a configured hosted provider or local Ollama. Hosted providers require your own credentials and may charge for requests.

What is the difference between "Upload replacement file" and "Pick another image"?

Upload replacement file (Free) puts a new file behind the same image, so its ID and every place it is used stay the same. Pick another image (Pro) changes every place that uses the image (featured images, galleries, categories, content, page builders, widgets) to a different image from your Media Library. Both can be undone; undoing a Pick another image change needs Pro to be active.

Does Product AI review change my products by itself?

No. Suggestions for title, short and long description, tags and image alt text are stored first. You open "See suggestion", compare them with the current text, edit them, and apply only the fields you tick (or Apply all, or Dismiss). Undo restores the previous text unless the product was edited again in the meantime. Suggest all can be cancelled; no further requests are sent after Cancel. Product AI review needs Pro and an AI provider you configure.

Why does the plugin show a "detailed logging is on" notice?

Detailed logging stores extra data and slows the plugin down a little, so while it is on every plugin page shows when it was turned on, how big the log is and when it switches off. Use Turn off logging in the notice, or untick "Turn logging off automatically after 7 days" on the Logs page to keep it on. On the Dashboard and Plugins screens you can hide the notice until your next login.

Why does Byte Identical show records that share a file?

Several media records can point at one file on disk. They are listed with the group but are not counted as copies, and merging never moves a file another record still uses.

How long does Live Page Check take?

It requests your pages politely: at most 4 requests per second, it pauses when the server answers 429 or 503, and it identifies itself as LucidLabLiveCheck. On a fast host it checks about 2 pages per second, so a site with 4,400 pages takes about 35 minutes; when each page takes about 1.2 seconds to build, expect about 70 to 75 minutes. Links to pages it already checked and to files on your own site are resolved without extra requests.

Which translations are included?

The Free plugin ships only the translation template (.pot). Translations come from WordPress.org language packs, made by the community at translate.wordpress.org, and WordPress installs them automatically. The Pro add-on includes Dutch, German, French, Spanish, Italian, Brazilian and European Portuguese and Polish for its own screens.

How are images found that are used in custom fields, page builders or other plugins' tables?

Before an image is called unused, the scanners read post content and excerpts (blocks, shortcodes, HTML, CSS), all custom fields (serialized, JSON and builder data such as Elementor, Divi, WPBakery and Beaver Builder, without creating PHP objects), term descriptions and term meta, theme and widget settings, other saved settings, ACF image, file and gallery fields (also on options pages), Code Snippets and WooCommerce galleries. IDs, URLs (also relative, resized, escaped or on a CDN) and bare file names all count. Orphan Images and the Uploads Scanner check current references again just before anything moves, and everything goes to a quarantine you can restore. Images used only by code, or stored in a plugin's own table, can be declared with two filters (for example in a small must-use plugin): add_filter( 'lucidlab_mpc_extra_references', function ( $refs ) { $refs['ids'][] = 123; $refs['urls'][] = 'brand-logo.png'; return $refs; } ); add_filter( 'lucidlab_mpc_reference_sources', function ( $sources ) { $sources[] = array( 'table' => 'my_slider_slides', 'columns' => array( 'settings' ), 'id_columns' => array( 'image_id' ) ); return $sources; } ); lucidlab_mpc_extra_references takes attachment IDs and upload URLs, paths or file names. lucidlab_mpc_reference_sources adds database tables: "columns" are searched for URLs, file names and IDs under media keys in serialized or JSON data, "id_columns" hold attachment IDs. Table and column names are checked against the database, and the tables are only read, in batches. lucidlab_mpc_acf_media_field_types adds third-party ACF field types that store attachment IDs.

What happens if I quarantine originals on Nginx?

The plugin updates links in pages and products to the WebP or AVIF copy, and a front-end filter rewrites leftover JPEG or PNG addresses in page output, so images stay visible without server configuration. The uploads .htaccess rules are ignored on Nginx. On the WebP/AVIF page, sites that are not using Apache or LiteSpeed also get an optional Nginx snippet (with Vary: Accept for caches such as Cloudflare) if a leftover request still uses the original address.

Does licence expiry disable recovery?

No. The Free plugin never contacts a licensing server and has no licence to expire. Only the separate Pro add-on checks its licence with Lucid Lab. Quarantine, restore and undo are part of Free and keep working without Pro.

更新日志:

6.1.25 6.1.24 6.1.23 6.1.22 6.1.21 6.1.20 6.1.19 6.1.18 6.1.17 6.1.16 6.1.15 6.1.14 6.1.13 6.1.12 6.1.11 6.1.10 6.1.9 6.1.8 6.1.7 6.1.6 6.1.5 6.1.4 6.1.3 6.1.2 6.1.1 6.1.0 6.0.436 6.0.435 6.0.434 6.0.433 6.0.432 6.0.431 6.0.430 6.0.429 6.0.428 6.0.427 6.0.426 6.0.425 6.0.424 6.0.423 6.0.422 6.0.420 6.0.419 6.0.417 6.0.416 6.0.415 6.0.414 6.0.413 6.0.412 6.0.411 6.0.410 6.0.409 6.0.408 6.0.407 6.0.406 6.0.405 6.0.404 6.0.403 6.0.402 6.0.401 6.0.400 6.0.399 6.0.398 6.0.397 6.0.396 6.0.395 6.0.394 6.0.393 6.0.392 Older versions Release notes for earlier versions are in docs/changelog-full.md in this plugin and at https://lucidlab.eu/changelog/ .