[WordPress] 外掛分享: S3 Spaces Sync

首頁外掛目錄 › S3 Spaces Sync
WordPress 外掛 S3 Spaces Sync 的封面圖片
10+
安裝啟用
☆☆☆☆
1/5 分(1 則評價)
2634 天前
最後更新
問題解決
WordPress 4.6+ PHP 5.6+ v1.0.0 上架:2018-12-30

內容簡介

S3 Spaces Sync 外掛會連結您的媒體庫到 DigitalOcean Spaces 的容器中。它會將網站上的資料同步至雲端儲存空間,並且取代圖片連結(可選)。您可以將媒體檔案保留在本機(即伺服器上)並備份到雲端儲存空間,或者只是全部從 DigitalOcean Spaces 提供。

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

您現在可以定義常數來配置外掛程式。如果有定義常數,它將覆蓋設定頁面中的值。

常數描述

S3_SPACE_KEY – DigitalOcean Spaces 金鑰
S3_SPACE_SECRET – DigitalOcean Spaces 密鑰
S3_SPACE_ENDPOINT – DigitalOcean Spaces 端點
S3_SPACE_CONTAINER – DigitalOcean Spaces 容器
S3_SPACE_STORAGE_PATH – 儲存空間中檔案的路徑,會出現在前綴中
S3_SPACE_FILE_ONLY – 是否僅將檔案保留在 DigitalOcean Spaces 中,值(true|false)
S3_SPACE_FILE_DELETE – 刪除 DigitalOcean Spaces 中的檔案,值(true|false)
S3_SPACE_FILTER – 正則表達式過濾器
S3_SPACE_CDN_URL – 檔案的完整 URL,WP 常數
S3_SPACE_UPLOAD_PATH – 本機檔案的路徑,WP 常數

WordPress 內建的圖片編輯器存在已知問題,它不會上傳已更改的圖像。若知道如何修復此問題,歡迎提出 PR。

外掛標籤

開發者團隊

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

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

原文外掛簡介

S3 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

S3_SPACE_KEY – DigitalOcean Spaces key
S3_SPACE_SECRET – DigitalOcean Spaces secret,
S3_SPACE_ENDPOINT – DigitalOcean Spaces endpoint,
S3_SPACE_CONTAINER – DigitalOcean Spaces container,
S3_SPACE_STORAGE_PATH – The path to the file in the storage, will appear as a prefix,
S3_SPACE_FILE_ONLY – Keep files only in DigitalOcean Spaces or not, values (true|false),
S3_SPACE_FILE_DELETE – Remove files in DigitalOcean Spaces on delete or not, values (true|false),
S3_SPACE_FILTER – A Regex filter,
S3_SPACE_CDN_URL – A full url to the files, WP Constant,
S3_SPACE_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
Apply Filters
Mastodon