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

---

Prohledat pluginy

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

Plugin **nebyl testován na 3 nejnovějších verzích WordPressu.** Nemusí už být tedy
podporován a u novějších verzí WordPressu může mít problémy s kompatibilitou a může
být nestabilní.

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

# WP Media Replace

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

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

 * [Podrobnosti](https://cs.wordpress.org/plugins/wp-media-replace/#description)
 * [Hodnocení](https://cs.wordpress.org/plugins/wp-media-replace/#reviews)
 *  [Instalace](https://cs.wordpress.org/plugins/wp-media-replace/#installation)
 * [Vývojáři](https://cs.wordpress.org/plugins/wp-media-replace/#developers)

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

## Popis

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.

## Instalace

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.

## Nejčastější dotazy

  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.

## Recenze

![](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. 4. 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. 4. 2019

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

 [ Přečtěte si všechny 2 recenze ](https://wordpress.org/support/plugin/wp-media-replace/reviews/)

## Autoři

WP Media Replace je otevřený software. Následující lidé přispěli k vývoji tohoto
pluginu.

Spolupracovníci

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

[Přeložte “WP Media Replace” do svého jazyka.](https://translate.wordpress.org/projects/wp-plugins/wp-media-replace)

### Zajímá vás vývoj?

[Prohledejte kód](https://plugins.trac.wordpress.org/browser/wp-media-replace/),
podívejte se do [SVN repozitáře](https://plugins.svn.wordpress.org/wp-media-replace/),
nebo se přihlaste k[ odběru protokolu vývoje](https://plugins.trac.wordpress.org/log/wp-media-replace/)
pomocí [RSS](https://plugins.trac.wordpress.org/log/wp-media-replace/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Verze **1.0.0**
 *  Poslední aktualizace **před 7 roky**
 *  Aktivních instalací **40+**
 *  Verze WordPressu ** 4.0 nebo novější **
 *  Testováno až do WordPressu **5.1.22**
 *  Verze PHP ** 5.2.4 nebo novější **
 *  Jazyk
 * [English (US)](https://wordpress.org/plugins/wp-media-replace/)
 * Štítky
 * [attachment](https://cs.wordpress.org/plugins/tags/attachment/)[media](https://cs.wordpress.org/plugins/tags/media/)
   [replace media](https://cs.wordpress.org/plugins/tags/replace-media/)
 *  [Podrobnosti](https://cs.wordpress.org/plugins/wp-media-replace/advanced/)

## Hodnocení

 5 z 5 hvězdiček.

 *  [  2 5hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/wp-media-replace/reviews/?filter=5)
 *  [  0 4hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/wp-media-replace/reviews/?filter=4)
 *  [  0 3hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/wp-media-replace/reviews/?filter=3)
 *  [  0 2hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/wp-media-replace/reviews/?filter=2)
 *  [  0 1hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/wp-media-replace/reviews/?filter=1)

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

[Zobrazit všechny recenze](https://wordpress.org/support/plugin/wp-media-replace/reviews/)

## Spolupracovníci

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

## Podpora

Potřebujete pomoc?

 [Fórum podpory](https://wordpress.org/support/plugin/wp-media-replace/)