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

---

Recherche d’extensions

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

Cette extension **n’a pas été testée avec les3 dernières versions majeures de WordPress**.
Elle pourrait ne plus être maintenue ou supportée et peut présenter des erreurs 
de compatibilité quand elle est utilisée avec des versions récentes de WordPress.

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

# WP Media Replace

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

[Télécharger](https://downloads.wordpress.org/plugin/wp-media-replace.zip)

 * [Détails](https://fr-ca.wordpress.org/plugins/wp-media-replace/#description)
 * [Avis](https://fr-ca.wordpress.org/plugins/wp-media-replace/#reviews)
 *  [Installation](https://fr-ca.wordpress.org/plugins/wp-media-replace/#installation)
 * [Développement](https://fr-ca.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.

## Avis

![](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/) 30 avril 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/) 30 avril 2019

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

 [ Lire les 2 avis ](https://wordpress.org/support/plugin/wp-media-replace/reviews/)

## Contributeurs & développeurs

« WP Media Replace » est un logiciel libre. Les personnes suivantes ont contribué
à cette extension.

Contributeurs

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

[Traduisez « WP Media Replace » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/wp-media-replace)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/wp-media-replace/),
consulter le [SVN dépôt](https://plugins.svn.wordpress.org/wp-media-replace/), ou
s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/wp-media-replace/)
par [RSS](https://plugins.trac.wordpress.org/log/wp-media-replace/?limit=100&mode=stop_on_copy&format=rss).

## Méta

 *  Version **1.0.0**
 *  Last updated **il y a 7 années**
 *  Active installations **40+**
 *  WordPress version ** 4.0 ou plus **
 *  Tested up to **5.1.22**
 *  PHP version ** 5.2.4 ou plus **
 *  Language
 * [English (US)](https://wordpress.org/plugins/wp-media-replace/)
 * Tags
 * [attachment](https://fr-ca.wordpress.org/plugins/tags/attachment/)[media](https://fr-ca.wordpress.org/plugins/tags/media/)
   [replace media](https://fr-ca.wordpress.org/plugins/tags/replace-media/)
 *  [Vue avancée](https://fr-ca.wordpress.org/plugins/wp-media-replace/advanced/)

## Notes

 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)

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

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

## Contributeurs

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

## Support

Quelque chose à dire ? Besoin d’aide ?

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