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

---

Ieškoti įskiepiuose

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

Šis įskiepis **nebuvo išbandytas su 3 vėliausiomis WordPress versijomis**. Jis tikriausiai
nėra prižiūrimas ir palaikomas, todėl gali neveikti su naujausiomis WordPress versijomis.

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

# WP Media Replace

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

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

 * [Informacija](https://lt.wordpress.org/plugins/wp-media-replace/#description)
 * [Atsiliepimai](https://lt.wordpress.org/plugins/wp-media-replace/#reviews)
 *  [Diegimas](https://lt.wordpress.org/plugins/wp-media-replace/#installation)
 * [Kūrimas](https://lt.wordpress.org/plugins/wp-media-replace/#developers)

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

## Aprašymas

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.

## Diegimas

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.

## DUK

  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.

## Atsiliepimai

![](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 balandžio, 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 balandžio, 2019

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

 [ Perskaityti visus atsiliepimus (2) ](https://wordpress.org/support/plugin/wp-media-replace/reviews/)

## Programuotojai ir komandos nariai

“WP Media Replace” yra atviro kodo programa. Prie jos sukūrimo prisidėję žmonės 
surašyti toliau.

Autoriai

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

[Išverskite “WP Media Replace” į savo kalbą.](https://translate.wordpress.org/projects/wp-plugins/wp-media-replace)

### Domina programavimas?

[Peržiūrėkite kodą](https://plugins.trac.wordpress.org/browser/wp-media-replace/),
naršykite [SVN repozitorijoje](https://plugins.svn.wordpress.org/wp-media-replace/),
arba užsiprenumeruokite [kodo pakeitimų žurnalą](https://plugins.trac.wordpress.org/log/wp-media-replace/)
per [RSS](https://plugins.trac.wordpress.org/log/wp-media-replace/?limit=100&mode=stop_on_copy&format=rss).

## Metainformacija

 *  Version **1.0.0**
 *  Atnaujinta **prieš 7 metai**
 *  Aktyvių instaliacijų **30+**
 *  WordPress versija ** 4.0 ar naujesnė **
 *  Ištestuota iki **5.1.23**
 *  PHP versija ** 5.2.4 ar naujesnė **
 *  Kalba
 * [English (US)](https://wordpress.org/plugins/wp-media-replace/)
 * Žymos
 * [attachment](https://lt.wordpress.org/plugins/tags/attachment/)[media](https://lt.wordpress.org/plugins/tags/media/)
   [replace media](https://lt.wordpress.org/plugins/tags/replace-media/)
 *  [Daugiau](https://lt.wordpress.org/plugins/wp-media-replace/advanced/)

## Įvertinimai

 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/)

## Autoriai

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

## Pagalba

Turite pastabų? Reikia pagalbos?

 [Peržiūrėti pagalbos forumą](https://wordpress.org/support/plugin/wp-media-replace/)