Devenia Replace Media
Correct the file your pages already use. Keep the same attachment, its descriptive text and WordPress media relationships.
Solid choice
Devenia Replace Media is a solid plugin choice in 2026, with a few things worth checking first. It runs on 100+ sites and was last updated 4 weeks ago, and scores 68/100 on our health check.
- Actively developed β last update 4 weeks ago
- Tested with the latest WordPress (7.1)
- Small user base (100+ active installs)
- Very few reviews so far
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release β each site that auto-updates counts as a download.
Rankings
Where Devenia Replace Media stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| attachments | >100 |
| cache busting | #21 |
| media library | >100 |
| replace image | #98 |
| replace media | #32 |
Version adoption
Share of active sites per release.
About Devenia Replace Media
From the official readme Β· v1.8.2Description
Replace an existing WordPress attachment without creating another Media Library item or selecting a new attachment on every page.
Correct one shared source
A product photograph appears on a product page and two articles. If it needs correcting everywhere, open the existing Media Library item and choose Replace File. The pages continue to use the same attachment ID.
If one page must keep the old photograph, upload a separate attachment instead. Replacement changes a shared source; it does not create a per-page variation.
What is preserved
- The attachment ID and WordPress relationships that refer to it.
- The attachment title, caption, description and alt text. Review that text when the replacement changes its meaning.
- The existing file path used for the replacement. WordPress image processing may generate a different full-size image when it scales, rotates or converts an image. Check the resulting URL and existing links.
WordPress regenerates attachment metadata and available image sizes. A smaller replacement may not recreate an old thumbnail size. Fixed thumbnail URLs in page HTML, CSS, external messages or exported pages are not rewritten automatically.
Where to find Replace File
Use the Media Library list, Edit Media screen or supported WordPress media dialogs. Elementor attachment details provide another entry point when Elementor is active. The normal Media Library workflow does not require Elementor or an AI client.
Prepare the replacement
Save a separate copy of the old file if you may need it again. Replacement does not provide a permanent revision history or an Undo button.
Prefer the same file format and prepare dimensions suitable for every placement. Although an allowed replacement type updates the recorded MIME type, a web server can infer the served type from the retained filename extension. A different format under an old extension is not a dependable conversion workflow.
Check caches and published pages
A changing v parameter is added to attachment and responsive image URLs produced through the supported WordPress filters. Each replacement gets a newer value, including repeated edits in the same second.
This does not purge every browser, page cache or CDN. Hard-coded URLs are not rewritten. Check representative pages and direct download links; clear the relevant cache or rebuild exported pages when needed.
Automation abilities
When WordPress Abilities API is available, two operations are registered:
- media/replace-from-url requires attachment_id and url. The HTTP or HTTPS source must pass WordPress URL validation.
- media/replace-base64 requires attachment_id, filename and base64. A base64 data URI is accepted. The decoded file must be no larger than 20 MiB; server request limits can be lower.
The account must have upload_files and permission to edit the selected attachment. Both operations use the same replacement function as the editor. A successful response includes the attachment ID, URL, MIME type, dimensions, version and message. A failed ability returns success: false with a message.
An MCP client needs a compatible connection to WordPress Abilities API. Automation is optional; replacing files through the Media Library works without it.
Read the product guide and WordPress documentation for image-size generation.
Installation
For update notifications in WordPress, install Devenia MCP Updater. The updater is optional. You choose which plugins update automatically through WordPress.
- Download the plugin ZIP.
- Open Plugins > Add New > Upload Plugin in WordPress.
- Upload the ZIP and activate Devenia Replace Media.
- Open the existing attachment and choose Replace File.
- Upload the corrected file and check its pages, images and direct links.
WordPress 5.7 or later, PHP 7.4 or later, and a writable upload directory are required. The account must be able to upload files and edit the selected attachment.
Frequently asked questions
Should I replace the attachment or upload another file?
Replace it when the correction belongs in every use of that attachment. Upload a separate attachment when some pages must keep the old content.
Are titles, captions and alt text rewritten?
No. They remain attached to the same item. Review and edit them if the replacement changes what the file shows or means.
Will every old thumbnail link still work?
Not necessarily. WordPress generates sizes from the new dimensions and current settings. A smaller file may not recreate an old size. Check fixed thumbnail URLs separately.
Can I undo a replacement?
There is no permanent file history or Undo button. Save a separate copy before replacing a file you may need later.
Why can I still see the old file?
The version parameter only helps when a URL passes through supported WordPress filters and the cache distinguishes it. Refresh the page and check the relevant browser, page cache, CDN or exported page.
Changelog
Keeps cache revisions distinct across repeated replacements. Check pages and direct links after updating a shared file.
1.8.2
- Add one dismissible Plugins-screen reminder when Devenia MCP Updater is missing or inactive, with persistent install or activate links. Automatic updates remain your choice in WordPress.
1.8.1
- Fixed: Every replacement gets a newer cache revision, including rapid edits and clock adjustments.
- Updated: Guidance on shared attachments, image processing, file formats and cache limits.
1.8.0
- Added: media/replace-from-url and media/replace-base64 abilities.
- Improved: Editor uploads and automation use the same replacement function.
1.7.5
- Fixed: Replace File button injection in Media Library grid/details view on newer WordPress admin markup
- Improved: More robust attachment ID detection across WP media frames and DOM
- Fixed: Media Library grid view details modal now detects attachment ID via
?item=<ID> - Improved: Cache busting now also applies to responsive image
srcsetand works across repeated replacements - Improved: After replacement, Media Library refresh behavior is more reliable
- Improved: Safer file replacement flow (staged write + rollback) and stricter permissions check
1.7.4
- Added: Replace File button on Edit Media screen
1.7.3
- Fixed: Use wp_add_inline_script() and wp_print_inline_script_tag() instead of raw script tags
- Fixed: Added nonce verification for GET requests to replacement page
- Fixed: Wrapped require_once calls with function_exists checks
- Fixed: Improved file upload validation with is_uploaded_file(), sanitize_file_name(), and sanitize_mime_type()
- Added: User capability check (upload_files) in replacement function
- Improved: Better code documentation and WordPress Coding Standards compliance
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own β no account needed.
Best Devenia Replace Media alternatives
All attachments plugins βFAQ
Devenia Replace Media: quick answers
Straight answers, pulled from live WordPress.org data.
Live data from WordPress.org Β· checked Oct 15, 2026
Is Devenia Replace Media free?
Yes. Devenia Replace Media is free to download and use from the official WordPress.org plugin directory.
Is Devenia Replace Media safe to use in 2026?
Devenia Replace Media is a solid plugin choice in 2026, with a few things worth checking first. It runs on 100+ sites and was last updated 4 weeks ago, and scores 68/100 on our health check.
How many websites use Devenia Replace Media?
Devenia Replace Media is active on 100+ WordPress websites and has been downloaded 1,164 times since it launched in December 2025. It was downloaded 282 times in the last 30 days.
Does Devenia Replace Media work with WordPress 7.1?
Yes. The developer has tested Devenia Replace Media up to WordPress 7.1.3, the latest release. It requires WordPress 5.7 or newer.
What PHP version does Devenia Replace Media need?
Devenia Replace Media requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Devenia Replace Media last updated?
The latest version, 1.8.2, was released on September 16, 2026 (4 weeks ago).
Who makes Devenia Replace Media?
Devenia Replace Media is developed and maintained by Bjorn Solstad.
What are the best alternatives to Devenia Replace Media?
The most popular alternatives to Devenia Replace Media are Export media with selected⦠(40K+ installs), File Upload Types by WPForms (40K+ installs) and Lightbox with PhotoSwipe (20K+ installs).
Powered by PageForge
Want thousands of pages that rank like these? Build them in an afternoon.
This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages β with schema, internal links and AI-written copy baked in.
- CSV, Google Sheets & API data sources
- AI content, schema & internal links per page
- Works with Elementor, Gutenberg, Yoast & Rank Math
- Free on WordPress.org β no credit card