[WordPress] 外掛分享: DigitalOcean Spaces Sync

首頁外掛目錄 › DigitalOcean Spaces Sync
600+
安裝啟用
★★★☆☆
3.9/5 分(13 則評價)
2223 天前
最後更新
問題解決
WordPress 4.6+ v2.2.1 上架:2017-11-22

內容簡介

DigitalOcean Spaces Sync 外掛可將您的多媒體媒體庫連接至 DigitalOcean Spaces 容器。它將您的網站數據同步到雲端儲存空間,並可選擇替換圖像鏈接。您可以將媒體保留在本地(在您的伺服器上)並在雲端儲存空間創建備份,或者從 DigitalOcean Spaces 裡提供所有媒體內容。

為使用此外掛程式,您必須建立 DigitalOcean Spaces API 金鑰。

現在,您可以定義常量以配置此外掛程式。如果已定義該常量,則它將覆蓋設定頁面上的值。
常量說明:
– DOS_KEY – DigitalOcean Spaces 金鑰
– DOS_SECRET – DigitalOcean Spaces 密鑰
– DOS_ENDPOINT – DigitalOcean Spaces 端點
– DOS_CONTAINER – DigitalOcean Spaces 容器
– DOS_STORAGE_PATH – 儲存空間中的文件路徑,將顯示為前綴。
– DOS_STORAGE_FILE_ONLY – 只在 DigitalOcean Spaces 中進行文件儲存或否,值 true 或 false。
– DOS_STORAGE_FILE_DELETE – 在刪除時從 DigitalOcean Spaces 中刪除文件或否,值 true 或 false。
– DOS_FILTER – 正規表示式過濾程序。
– UPLOAD_URL_PATH – 文件的完整 URL,WP 常量。
– UPLOAD_PATH – 本地文件的路徑,WP 常量。

WordPress 內置圖像編輯器存在已知問題,它無法上傳更改後的圖像。如果您知道如何修補此問題,歡迎提交 Pull Request。

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.2.1) 或搜尋安裝

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

原文外掛簡介

DigitalOcean Spaces Sync plugin connects your Media Library to a container in DigitalOcean Spaces. It syncs data from your website to cloud storage
and replaces links to images (optional). You may keep the media locally (on your server) and make backup copy to cloud storage, or just serve it all
from DigitalOcean Spaces.
In order to use this plugin, you have to create a DigitalOcean Spaces API key.
You may now define constants in order to configure the plugin. If the constant is defined, it overwrites the value from settings page.
Contants description:
– DOS_KEY – DigitalOcean Spaces key
– DOS_SECRET – DigitalOcean Spaces secret,
– DOS_ENDPOINT – DigitalOcean Spaces endpoint,
– DOS_CONTAINER – DigitalOcean Spaces container,
– DOS_STORAGE_PATH – The path to the file in the storage, will appear as a prefix,
– DOS_STORAGE_FILE_ONLY – Keep files only in DigitalOcean Spaces or not, values (true|false),
– DOS_STORAGE_FILE_DELETE – Remove files in DigitalOcean Spaces on delete or not, values (true|false),
– DOS_FILTER – A Regex filter,
– UPLOAD_URL_PATH – A full url to the files, WP Constant,
– UPLOAD_PATH – A path to the local files, WP Constant
There is a known issue with the built in WordPress Image Editor, it will not upload changed images. Know how to fix this, PR welcome.

延伸相關外掛

文章
Filter
Mastodon