WordPress Dynamic Media
Automatically transform WordPress media URLs into dynamic, optimized URLs powered by image transformation services like Cloudinary.
by Aysnc · github.com/aysnc-labs/wordpress-dynamic-media · website
★ 1stars
2composer installs
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/aysnc-labs/wordpress-dynamic-media/archive/refs/heads/main.zipAlso on Packagist as aysnc/wordpress-dynamic-media:
composer require aysnc/wordpress-dynamic-mediaFrom the readme
WordPress Dynamic Media
Automatically transform WordPress media URLs into dynamic, optimized URLs powered by image transformation services like
Cloudinary.
Requirements
- PHP 8.3+
- WordPress 6.2+
- A Cloudinary account
with auto-upload mapping
configured
Installation
The plugin auto-activates through Composer's wordpress-plugin type. If your setup doesn't support that, activate it
manually in wp-admin.
What It Does
When you upload an image to WordPress, it gets stored at a URL like this:
With this plugin active, that same image is served through Cloudinary with on-the-fly transformations:
The plugin hooks into WordPress's image handling at multiple levels, so this happens automatically - no need to change
your templates or content.
Here's what gets transformed:
- wpgetattachmentimage() and related functions
- Responsive srcset attributes
- Images embedded in post/page content
- Any code using imagedownsize()
- REST API media endpoints (/wp/v2/media)
REST API Support
The plugin transforms URLs in REST API responses by default. When you fetch media via /wp/v2/media, both sourceurl
and all size URLs in mediadetails.sizes are transformed.
This is enabled by default.
Read the full README on GitHub →
Releases
| Tag | Published |
|---|---|
| 1.0.0 | Jan 16, 2026 |
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.