This WordPress plugin syncs your media library with DigitalOcean Spaces Container and optionally compresses and resizes them.
This WordPress plugin syncs your media library with DigitalOcean Spaces Container. It allows you to simuntanously upload and delete files, replacing public media URL with relative cloud storage links. You can keep local copy of the files, or delete them and keep files only in your Digital Ocean Space.
In order to use this plugin, you'll need a DigitalOcean Spaces API key. Sign up for an account, then visit Applications & API and click Generate New Key
.
In addition to syncing to your bucket, there are also options for "on-the-fly" image processing. Select a value for compressing images as you upload, and set a max width and height. Combined with the power of the Digital Ocean CDN, this will ensure you have incredibly fast image downloads to the client.
- Clone the repo.
- Run
npm install
to install Prettier for some nice formatting help. - Run
composer install
to install the PHP dependencies. - Make any changes as desired.
- Run
./pack-for-deploy.sh
from the root folder to create the installable zip file. - Install the zip file via the WordPress plugin installer.
- Clone the repo into the plugins folder in your WordPress environment
- Run
npm install
to install Prettier for some nice formatting help. - Run
composer install
to install the PHP dependencies. - Activate the plugin via the WordPress plugin installer.
- Download the
space-sync.zip
file from this repo. - Install the zip file via the WordPress plugin installer.