-
Notifications
You must be signed in to change notification settings - Fork 9
Home
There already is an official Cloudinary plugin: https://wordpress.org/plugins/cloudinary-image-management-and-manipulation-in-the-cloud-cdn/ available. But in my opinion, it's an overkill and takes over the admin UI. This plugin aims to be:
- Super simple and light-weight
- Totally seamless and out of the way
- A flexible tool for WordPress developers
Cloudinary gives you two options to upload files to it's servers:
- The complicated Upload API 😱
- The super easy and magical Fetch API 🎩
TL;DR: Too complicated and in the way 👎
Cloudinary gives you an API, using which, you can manually upload the images to Cloudinary. So you'd need an API key, etc. The official plugin uses this method. When you upload an image to the media library, it in turn, uploads it to Cloudinary. This could be a problem if you have thousands of existing images, and might not be flexible enough to support custom architecture.
TL;DR: Magical 👍
This plugin uses the super easy Auto-Upload feature in the Fetch API. Just we just tell Cloudinary where to find the files on our server (or on S3 or anywhere on the Internet), and it automatically downloads it from there and saves it on to it's servers like a CDN would!