[WordPress] 外掛分享: Cleanup Orphan Images

首頁外掛目錄 › Cleanup Orphan Images
WordPress 外掛 Cleanup Orphan Images 的封面圖片
100+
安裝啟用
★★★★★
5/5 分(2 則評價)
8 天前
最後更新
問題解決
WordPress 5.0+ PHP 7.4+ v1.8.3 上架:2025-12-28

內容簡介

Cleanup Orphan Images 外掛能夠掃描並刪除在 WordPress 媒體庫中不可見的冗餘檔案,幫助用戶清理未使用的媒體檔案,提升網站效能。

【主要功能】
• 掃描上傳目錄中的孤立媒體檔案
• 支援多種圖片格式(如 JPG、PNG、GIF 等)
• 支援多種文件格式(如 PDF、DOCX、TXT 等)
• 支援音頻與視頻格式(如 MP3、MP4、AVI 等)
• 提供安全的手動選擇刪除功能
• 當孤立檔案數量超過伺服器限制時發出警告

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.8.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Cleanup Orphan Images」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Finds and deletes redundant files from the uploads folders that are not visible in WordPress Media Library.
These orphan files may have been left behind from:

Failed or interrupted uploads
Plugin operations or migrations
FTP/SFTP uploads not registered in WordPress
Database restores or imports

Features

Scans uploads directory for orphan media files
Supports images: JPG, JPEG, PNG, GIF, WebP, BMP, TIFF, SVG, ICO
Supports documents: PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, ODT, ODS, ODP, TXT, RTF, CSV
Supports audio: MP3, WAV, OGG, FLAC, AAC, M4A, WMA
Supports video: MP4, MOV, AVI, WMV, MKV, WebM, FLV, M4V, MPEG, MPG
Supports archives: ZIP, RAR, 7Z, TAR, GZ
Safe manual selection before deletion
Warns when orphan count exceeds server’s max_input_vars limit (typically 1000)
Optimized O(1) performance with hash-based detection

Note
This plugin does NOT manage “unattached” images in the Media Library. WordPress already provides built-in filtering for unattached media.

延伸相關外掛

文章
Filter
Mastodon