WordPress plugin intelligence profile

Auto Cloudinary

Super simple Cloudinary auto-upload implementation for WordPress.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 6.8
Current version1.3.1
WordPress coverageTested up to WordPress 6.8
Minimum stackWP 4.4 · PHP 5.6
Directory statusactive
Last directory update19 Sept 20251y ago
Active installations200Adoption metric — not a quality score
WordPress.org rating4.4 / 5 from 14 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Auto Cloudinary version 1.3.1 as active, updated 1y ago and tested up to WordPress 6.8.

Overview

About this plugin

Check out the Github Repository ♥

This plugin provides a super simple Cloudinary auto-upload implementation for WordPress.

It is inspired by Photon and Tachyon.

Cloudinary will automatically fetch and serve the images from your media library like a CDN, without you having to worry about the complicated upload API! Just set up auto-upload in your Cloudinary settings, enter the details in the plugin’s options, and you’re all set!

Easy peasy 😎

Important

This plugin is incompatible with the official Cloudinary plugin. You’d need to disable that plugin before using this one.

Quick Links

Setup | Issues | Functions | Filters | Best Practices

Why did you build this plugin?

There already is an official Cloudinary plugin available. But in my opinion, it’s a bit of 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

What is Cloudinary Auto-Upload?

Cloudinary gives you two options to upload files to it’s servers:

  • The complicated Upload API 😱
  • The super easy and magical Fetch API 🎩

Upload 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.

Fetch API

TL;DR: Magical 👍

This plugin uses the super easy Auto-Upload feature in the Fetch API. 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 the first time you ask for it, like a CDN would!

What does this plugin do?

This plugin does two main things:

  • Provides a simple function cloudinary_url() to get a Cloudinary auto-upload URL for any image in your media library, with all the Cloudinary transformations, so you can dynamically manipulate an image on the fly.
  • Attempts to automatically convert all image URLs on the front-end into a Cloudinary auto-upload URL, so you can use Cloudinary as an image CDN.

The magical function 🎩

cloudinary_url( $identifier, $args )

This function returns a Cloudinary Auto Upload URL for an image. Please read the Best Practices page before using this.

Parameters

  • identifier (integer/string)(required): Either the ID of the attachment, or a full image URL.
  • args (array)(optional): Arguments to manipulate the image.

Return Value

Returns a URL (string):

jpg'

Arguments

You can optionally send an array of arguments which can transform the image, and set a dynamic file name. Ex:

array( 'transform' => array( // Optional. All transformations go here. 'width' => 300, 'height' => 200, 'crop' => 'fill', 'quality' => '80', 'gravity' => 'face', ), 'file_name' => 'whatever-file-name-you-want', // Optional.

If you want to use a dynamic file name for SEO. Don't use the file extension! );

Here’s a full list of transformations you can achieve with Cloudinary.

Examples

php $url_1 = cloudinary_url( 123, array( 'transform' => array( 'width' => 300, 'height' => 200, 'crop' => 'fill', 'quality' => '80', 'gravity' => 'face', ), 'file_name' => 'dynamic-file-name', ) );

jpg', array( 'transform' => array( 'width' => 100, 'height' => 100, ), ) );

>

>" width="100" height="100" alt="">

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • dynamic images
  • image manipulation
  • image optimization
  • cdn
  • cloudinary
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 6.8

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 6.8.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to6.8
Minimum requirementsWordPress 4.4 · PHP 5.6
Update activity19 Sept 20251y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.