Search Over 30,000 FREE Plugins from the Official WordPress Plugin Directory Repository

Replace Image

Upload a new version of an image without deleting the old image attachment, so that references to the image remain intact.

The Replace Image plugin adds a button to the Attachment Details screen which allows you to upload or select an image to replace the current image while retaining the URL and attachment ID. This allows you to easily swap in an updated version of an image without having to re-select it in theme settings pages, post/page content, or anywhere else where it might be referenced.

Important: Disable your browser's cache and any WordPress caching plugins before use; otherwise, the plugin may appear not to work. See Tools > Replace Image for instructions.

If you like this plugin, please consider making a donation.

Author Potent
Profile
Contributors hearken
Tags Attachment, attachments, image, images, media, overwrite, replace
  1. replace-image screenshot 1

    The Replace Image button in the Attachment Details screen (opened by clicking on an image in the Media Library).

  1. Click "Plugins" > "Add New" in the WordPress admin menu.
  2. Search for "Replace Image".
  3. Click "Install Now".
  4. Click "Activate Plugin".

Alternatively, you can manually upload the plugin to your wp-content/plugins directory.

1.1.3

1.1.1

  • Added support for image replacement where the image file being replaced doesn't exist
  • Removed anonymous functions

1.1

  • Added functionality to prevent image caching in the Media Library

1.0.3

  • Fixed a bug where the upload UI would temporarily stop working properly after replacing an image.

1.0

  • Initial release

I tried to replace an image but nothing happened.

Your browser is likely still caching the old image. Try doing a hard refresh (Ctrl + F5 on Windows, Apple + R / Command + R on Mac) while viewing the page on the frontend. Note that the backend seems to retain cached image thumbnails even after a hard refresh.

Share  
Download
Version 1.1.4

Requires WordPress version: 3.5 or higher

Compatible up to: 4.7.2

Last Updated 15 Dec 2016

Date Added: 04 Nov 2015

Evaluation
star1
star2
star3
star4
star5

4.4 stars
23 ratings
11,499 downloads

Compatibility

Not Enough Data

Reports:
Works: 0
Broken: 0