Download the PHP package kodansha/wack-cloudinary without Composer
On this page you can find all versions of the php package kodansha/wack-cloudinary. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kodansha/wack-cloudinary
More information about kodansha/wack-cloudinary
Files in kodansha/wack-cloudinary
Package wack-cloudinary
Short Description Uploads the uploaded media files to Cloudinary
License GPL-3.0-or-later
Homepage https://github.com/kodansha/wack-cloudinary
Informations about the package wack-cloudinary
WACK Cloudinary
WACK Cloudinary is a WordPress plugin to upload the media files to Cloudinary.
It hooks into the WordPress wp_handle_upload
and when a media file is uploaded, it also uploads the file to Cloudinary.
It is created with the intention of being used with the WACK Stack, but it can also be used with other WordPress installations.
[!IMPORTANT] This plugin does NOT replaces neither the media URLs in the content nor the URLs in the media library. This means you have to manually replace the URLs when displaying the media to users.
Installation
- Requires PHP 8.1 or later
- Requires WordPress 6.0 or later
- Requires Composer
Using Composer
[!NOTE] This plugin is not available on the WordPress.org plugin repository. For the moment, the only way to install it is to use Composer.
How to use
Pre-requisites
You need to set up the Cloudinary account and set the credentials in the environment variables.
[!TIP] It strongly recommended to use the
.env
file to set the environment variables, especially in the local development environment.
Configuration
You might want to define settings through the WACK_CLOUDINARY_SETTINGS
constant:
Upload media files
After setting the above pre-requisites and configuration, when you upload a media file to the WordPres, the file is also uploaded to Cloudinary.
TODO
- Support video upload
- Support eager transformation
- Support upload presets