Cloudinary Blog
Cloudinary for WordPress Plugin for Images and Video

WordPress powers 34% of the internet and represents 60% of all CMS-built sites. From small blogs to large enterprise websites, WordPress is a popular choice for publishers and companies of all kinds. Media management within WordPress is an important component and one that, when done right, can significantly boost user engagement and overall site performance.

The enhanced Cloudinary for WordPress Plugin comprises robust features that make it easier than ever to manage and deliver optimized media assets.


How to Optimize for Page Load Speed


With our new plugin, you can:

  • Easily manage your entire Media Library with Cloudinary and take full advantage of our comprehensive digital asset management (DAM) solution, directly from WordPress.
  • Fine-tune the transformations and optimizations of your media assets to ensure that the correct customizations are applied at global and taxonomy level.
  • Generate responsive images through best-in-class logic.
  • Deliver a highly optimized video experience with Cloudinary’s dynamic video platform.

Media Management Made Easy

To alleviate the challenges of managing large volumes of media assets with WordPress, the Cloudinary for WordPress Plugin enables you to locate them through Cloudinary DAM's smart-search capabilities and to organize, select and transform assets without leaving the WordPress UI. Ultimately, you can seamlessly and efficiently manipulate and optimize assets for fast delivery.

By using Cloudinary’s Media Library to manage assets, users can:

  • Tag, categorize and sort media assets into folders and collections, and take advantage of AI auto-tagging to intelligently tag media based on content type.
  • Utilize advanced-search to easily find the right assets, and refine searches based on the media type, custom and embedded metadata or specific analytical results extrapolated from the file.
  • Ensure cross-team collaboration through comments and sharing capabilities.

All of this has been available within the Cloudinary console for a while, but now you access it all, without leaving WordPress. Whenever you want to add media to your site, you can open the Cloudinary Media Library, manage and insert, simple as that.

Transformations on Every Level

Transforming and optimizing your assets goes a long way toward making your site look beautiful and load fast. However, for a large volume of assets, you must be able to perform those tasks at scale and fine-tune them for your various use-cases.

With Cloudinary, you can configure transformations at global or taxonomy (category or tag) level. You can also transform an individual asset using the Cloudinary Media Library transformation editor before adding it to your site. Even though all transformations are combined when viewed on the site, you can override them at each level for the desired effect for your media.

Global Transformations

With the Cloudinary settings, you can configure global transformations and optimizations for your images, and optionally, different ones for videos. For example, you can set up quality and compression parameters and those for generating responsive images, ultimately cutting bandwidth and shortening page-load times. You might also want to add a watermark to protect your assets. You can do all that by simply adding global transformation parameters using Cloudinary’s URL syntax.

For the example below, we have-

  • Enabled responsive breakpoint generation with a maximum of five breakpoints
  • Configured format and quality to be set automatically
  • Added the Cloudinary logo in the bottom right corner using the Image Transformation string - w_0.2,g_south_east,x_5,y_5,l_cloudinary_icon.

The result is that all image delivery URLs (unless overridden) will contain the following transformation string and a maximum of 5 breakpoints to deliver optimally sized images:

l_cloudinary_icon,w_0.2,g_south_east,x_5,y_5/f_auto,q_auto

For example:

Global transformations

Taxonomy Transformations

Categorizing or tagging pages and posts is a really great way to organize and control your content, and we think it's also a great way to control and target your transformations as well. Just like with global transformations, you can add a set of transformations to any category or tag using Cloudinary’s URL syntax. This is a useful way to apply some use-case specific transformations. For example, you might want to tag some recently uploaded images with a new tag. You could then overlay a "NEW!" text banner to all images with that tag:

WordPress tag example

In another scenario, you might be using WordPress to demonstrate your portfolio of images. Here you could use the taxonomies to identify posts with images that need to be high resolution or to add a watermark if not added globally. In the taxonomy transformation, this time for a category, you could set a custom quality setting and watermark, then override the global default.

WordPress category example

By controlling the transformations at a taxonomy level, you can easily automate your transformations and optimizations, simply by adding a category or tag and controlling whether to overwrite the globally applied transformations.

Individual Transformations

Transformations on individual media assets are extremely useful when you have very specific requirements for an image or video. These transformations are not defined using the WordPress UI and instead can be created and inserted using the Cloudinary Media Library.

WordPress tag example

You may have created a complex transformation that conflicts with transformations set at either taxonomy or global level and therefore you’ll want to override both of those when inserting. This can be done by configuring the asset through the WordPress UI.

Classic individual level transformations Classic Gutenberg individual level transformations Gutenberg

Dynamic Video for a Dynamic Platform

Video is a major part of all websites today and WordPress sites are no exception. With WordPress’ out-of-the-box video solution, you can upload and deliver videos on your site. Cloudinary’s WordPress plugin enables you to further enhance the presentation by leveraging Cloudinary’s Dynamic Video Platform with its intelligent automatic transformations and optimization capabilities, ultimately delivering it all through Cloudinary’s feature-rich video player.

On Cloudinary's Dynamic Video Platform, it’s really easy to limit your bitrate and also apply watermarks to videos, as you would do with images. See this example:

WordPress Video

Additionally, you can tailor a video experience with several unique features on Cloudinary’s video player. For example, you can configure your videos to autoplay or loop, and to display the controls to your users or hide them. For a slick and compelling user experience on eCommerce sites, for example, you might choose to autoplay, loop and hide the controls of product videos. Here’s an example:

Wrapping up

The enhanced Cloudinary’s WordPress for Plugin offers many superior Cloudinary features, all accessible and usable within WordPress. From full DAM functionality to advanced transformations to our Dynamic Video Platform, it’s a breeze to get the best out of media on WordPress. Go ahead and install the latest version from the WordPress plugin library. To get started, link your Cloudinary account. If you don’t have one yet, sign up now for free. For further reference, check out our documentation on the WordPress plugin.


Want to Learn More About Image Optimization?

Recent Blog Posts

Maya Shavin: How I Built My Website

Besides working as a senior front-end developer at Cloudinary, I'm also a content creator, a blogger, and an open-source developer. Follow me at @mayashavin and on mayashavin.com.

In the beginning, my website, mayashavin.com, was mainly for showcasing the status of my development projects and keeping me organized with my speaking schedule. Initially, I built it with Vue.js, later on switching to Nuxt.js (aka Nuxt) for a higher SEO score, and deployed it with Netlify. After some time, I added a blog section with Netlify CMS as the content management system (CMS). Everything was fine until I added more content and features, which led to a significant decline in the site’s performance. Also, the site design needed a modern look. So, I gave the site a makeover.

Read more
Automation Frees Up PetRescue’s Staff to Help Pets Find Their Forever Homes

As we spend more time at home, many of us are adopting pets for the joy, companionship and a surprising range of health benefits. In Australia, where our nonprofit customer PetRescue is located, there’s a shortage of pets to adopt. Last August, the Guardian reported that dog shelters in Australia emptied and adoption fees for puppies were running as high as $AUS1800.

Read more
Cloudinary and Contentful Make Modern Content Management Easier

I am pleased to share that Cloudinary and Contentful have joined forces to further streamline the creation, processing, and delivery of online content through Cloudinary’s digital asset management (DAM) solution and advanced transformation and delivery capabilities for images and video. What’s more, the partnership delivers a headless approach to DAM. By leveraging APIs for media management tasks, marketers and developers alike benefit from an integrated stack of optimized assets for optimization and automation. As a result, page loads are fast and beautiful, and at scale—with less overhead and effort.

Read more
Introducing Cloudinary's Nuxt Module

Since its initial release in October 2016 by the Chopin brothers as a server-side framework that runs on top of Vue.js, Nuxt (aka Nuxt.js) has gained prominence in both intuitiveness and performance. The framework offers numerous built-in features based on a modular architecture, bringing ease and simplicity to web development. Not surprisingly, Nuxt.js has seen remarkable growth in adoption by the developer community along with accolades galore. At this writing, Nuxt has earned over 30K stars on GitHub and 96 active modules with over a million downloads per month. And the upward trend is ongoing.

Read more
How Quality and Quantity can go Hand in Hand

When it comes to quality versus quantity, you’ll often hear people say, “It’s the quality that counts, not the quantity”. While that’s true in many situations, there are also cases where you want both quality and quantity. You may have thousands of images on your website and you want them all to look great. This is especially important if your website allows users to upload their own content, for example, to sell their own products or services. You don't want their poor quality images to reflect badly on your brand.

Read more