Easy Replace Image
This plugin allows you to replace an attachment file by uploading another image or by downloading one from a specified URL, without deleting the attachment. The plugin handles the sub-sizes generation and the attachment metadata update, and you will see the result right away. SVG attachments are sup
This plugin allows you to replace an attachment file by uploading another image or by downloading one from a specified URL, without deleting the attachment. The plugin handles the sub-sizes generation and the attachment metadata update, and you will see the result right away.
SVG attachments are supported too: an SVG attachment can be replaced with another SVG file, and a raster image with another raster image (JPG, PNG, GIF, WebP, AVIF).
Demo
License
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Screenshots & previews.
Frequently asked questions.
Can I replace an SVG image?
Yes, with another SVG file. The replacement keeps the same file name and URL, so an SVG cannot be replaced with a raster image (or the other way around). The SVG files that contain scripts, event handlers or embedded external content are refused. You can adjust this check with the easy_replace_image/svg_is_safe filter.