[WordPress] 外掛分享: Media Sync

首頁外掛目錄 › Media Sync
40,000+
安裝啟用
★★★★
4.7/5 分(82 則評價)
112 天前
最後更新
100%
問題解決
WordPress 5.3+ PHP 7.1+ v1.4.9 上架:2018-04-26

內容簡介

您可以掃描所有在uploads目錄中的檔案,並查看哪些檔案實際上在媒體庫中,哪些檔案只是停留在那裡。然後,您可以選擇要將哪些檔案導入數據庫,從而使它們在媒體庫中可用。

您還可以使用FTP將檔案上傳到uploads目錄,並將這些檔案添加到媒體庫中。

免責聲明

請在添加支援主題之前先閱讀。評論並不適用於支援或建議。

"針對開發人員"
此外掃描檔案和匯入資料庫之外,此外掃描檔案和匯入資料庫,本外掛還會進行資料庫更改(wp_posts和wp_postmeta表),主要是為了幫助其他了解後果的開發人員。

"先嘗試一個檔案"
請小心使用,嘗試只導入一個檔案,以查看其是否有效。

"將所有檔案一次匯入"
本外掛專注於一次掃描、選擇和匯入所有檔案。因此,對於大量檔案可能不是很好,因為它可能會使用很多內存。未來的版本將希望解決這個問題。目前,您可以嘗試轉至"設定" -> "媒體同步",並設置僅掃描特定目錄。

"您的設置是獨特的"
請記住,每個 WordPress 安裝都是獨一無二的,因此這個外掛可能無法在您的情況下使用。如果發生這種情況,請在此外掛的設置中開啟偵錯,嘗試找出您遇到的問題,然後在支援部分中描述您找到的問題。我們有越多的細節 - 就越有可能解決問題。

被忽略的檔案

index.php,
各種隱藏檔案(.DS_Store,.htaccess),
WP產生的縮略圖(檔案以-100×100.jpg結尾),
WP產生的縮放圖像(檔案以-scaled結尾)。

現在這可以使用自訂掛鉤函數進行設定,可以完全覆蓋這些規則或添加額外的規則。

外掛標籤

開發者團隊

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

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

原文外掛簡介

This plugin allows you to examine all files within the uploads directory to determine which ones are present in the Media Library and which ones are just sitting there unused. You can then choose the files you want to import into the database, thereby including them in the Media Library.
Moreover, you can utilize FTP to upload files directly to the uploads directory and subsequently add these files to the Media Library avoiding any file size limitations.
Disclaimers

“1 file first”
Please try to import only one file first – to see if it works as you expected.

“All at once”
This plugin is designed for scanning, selecting, and importing all files at once. However, based on your server’s configuration, memory, and timeout challenges may arise with extensive file quantities. To mitigate this, a newly revamped pro version employs incremental directory scans to effectively tackle these issues.

“Your setup is unique”
Please be aware that every WordPress installation is unique, and there may be instances where this plugin does not function as expected. Should this occur, we recommend enabling the debugging feature in the plugin’s settings to identify the issue. After investigating, kindly provide a detailed description of your findings in the Support section (or here if you’re using pro version). The more comprehensive the details, the higher the likelihood of resolving the problem effectively.

Ignored files

various hidden files (.DS_Store, .htaccess),
WP generated thumbnails (files ending with for example -100×100.jpg),
WP generated scaled images (files ending with -scaled),
optimized .webp versions of original images (.jpg.webp),
retina thumbnails (-100×[email protected]).

These can be modified and enhanced using the new advanced filters available in the pro version.
Media Sync Pro features

Revised incremental scan: Allows scanning and importing unlimited number of files.
Quick single directory rescan: Easily rescan one directory to find new files or apply a different filter without reloading the whole page.
Advanced filters: Find any file by customizing all default filters, search for a specific file type (images, videos, etc.), skip by tailor-made rules, or enter any custom pattern.
Schedule automatic imports: Select a desired interval and let the plugin automatically import any new files it finds.
Import logs: View the history of manual or scheduled imports.
Limit plugin access: Limit plugin access to a specific role.

Get pro version here.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon