Title: WP Media Replace
Author: Prakash Rao
Published: <strong>April 29, 2019</strong>
Last modified: April 29, 2019

---

Search plugins

![](https://ps.w.org/wp-media-replace/assets/banner-772x250.png?rev=2076688)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/wp-media-replace/assets/icon-256x256.png?rev=2076671)

# WP Media Replace

 By [Prakash Rao](https://profiles.wordpress.org/prakashrao/)

[Download](https://downloads.wordpress.org/plugin/wp-media-replace.zip)

 * [Details](https://twd.wordpress.org/plugins/wp-media-replace/#description)
 * [Reviews](https://twd.wordpress.org/plugins/wp-media-replace/#reviews)
 *  [Installation](https://twd.wordpress.org/plugins/wp-media-replace/#installation)
 * [Development](https://twd.wordpress.org/plugins/wp-media-replace/#developers)

 [Support](https://wordpress.org/support/plugin/wp-media-replace/)

## Description

Many of the WordPress website users fetches the media image in featured image section
or content editor to be displayed at front-end. Now, the big headache is if we want
to change an image to some new image then we will have to change it in all the posts
types where this image has been used.

WP Media Replace solves this headache by managing everything smoothly.

A brief about the logics:

 * Goto to edit more section of a media item and in bottom you will find “Replace
   Media” section.
 * Upload and new image which will replace the exisiting image in this media item.
 * Suppose you are having an image named as “existing.png” and you want to replace
   it with “new.png”.
 * Upload “new.png” in “Replace Media” section and click on “Update”.
 * “existing.png” will be moved to “del” folder and “new.png” will be copied and
   renamed as “existing.png”.
 * Now, you will have to same images with different names “exising.png” and “new.
   png” to overcome this issue check the box to delete the “new.png” at the time
   of uploading it.

## Installation

This section describes how to install the plugin and get it working.

e.g.

 1. Upload `wp-media-replace` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Check the Edit Media page to see the “Replace Media” section working.

## FAQ

  What happens to original image?

We keep a backup of original image, original image is moved to “del” folder.

  What about the the other sizes of the image, are they getting replaced?

Yes, if an image “existing.png” have 2 sizes or more as “existing-150X150.png” and“
existing-300X300.png” then these images will also be replaced with the new image
and names of the images will be kept same.

  What about the database changes, any modifications are done in synchronized image
metadatas?

No, overall logic is we are replacing an exsiting image with a new media image, 
we take the name of original image (all sizes) -> moves the original images to “
del” folder -> take the name of new image -> create a copy of new image and name
it as original image.

  What if my original image is having a “large” size and new image do not have “
large” size?

As wordpress default maintains 4 sizes of media images “thumbnail”, “medium”, “medium_large”&“
large”. Depending on the aspect ratio of image we uplad the different thumbnail 
versions are created. If original image is having “large” size but new image have
only “thumbnail”, “medium”, “medium_large” then “large” size for the new image will
be created by plugin and it will use the fulll size of the image.

## Reviews

![](https://secure.gravatar.com/avatar/32edbe91eba46f5a593c79a1562823d71a48188008e0e9e17b03ff5dc4f735f6?
s=60&d=retro&r=g)

### 󠀁[Reliable and Easy to Use](https://wordpress.org/support/topic/reliable-and-easy-to-use-12/)󠁿

 [clarkaline](https://profiles.wordpress.org/clarkaline/) April 30, 2019

Thank you for making a great plugin! It gets me out of some tough jams and is super
easy to use. Great Work!

![](https://secure.gravatar.com/avatar/de559f5379ae6b6cecb86abfe8394340ea76b56fd0cb41834aa93ea4d0b3070e?
s=60&d=retro&r=g)

### 󠀁[Great Work](https://wordpress.org/support/topic/great-work-712/)󠁿

 [Haresh Valiya](https://profiles.wordpress.org/haresh76/) April 30, 2019

I can easily replace my images without any changes in URLs. Works like a gem.

 [ Read all 2 reviews ](https://wordpress.org/support/plugin/wp-media-replace/reviews/)

## Contributors & Developers

“WP Media Replace” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Prakash Rao ](https://profiles.wordpress.org/prakashrao/)

[Translate “WP Media Replace” into your language.](https://translate.wordpress.org/projects/wp-plugins/wp-media-replace)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wp-media-replace/),
check out the [SVN repository](https://plugins.svn.wordpress.org/wp-media-replace/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/wp-media-replace/)
by [RSS](https://plugins.trac.wordpress.org/log/wp-media-replace/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **1.0.0**
 *  Last updated **7 years ago**
 *  Active installations **40+**
 *  WordPress version ** 4.0 or higher **
 *  Tested up to **5.1.22**
 *  PHP version ** 5.2.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/wp-media-replace/)
 * Tags
 * [attachment](https://twd.wordpress.org/plugins/tags/attachment/)[media](https://twd.wordpress.org/plugins/tags/media/)
   [replace media](https://twd.wordpress.org/plugins/tags/replace-media/)
 *  [Advanced View](https://twd.wordpress.org/plugins/wp-media-replace/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/wp-media-replace/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/wp-media-replace/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wp-media-replace/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wp-media-replace/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/wp-media-replace/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/wp-media-replace/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wp-media-replace/reviews/)

## Contributors

 *   [ Prakash Rao ](https://profiles.wordpress.org/prakashrao/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wp-media-replace/)