Title: Enable Media Replace
Author: ShortPixel
Published: <strong>1. Juni 2009</strong>
Last modified: 3. März 2026

---

Plugins durchsuchen

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

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

# Enable Media Replace

 Von [ShortPixel](https://profiles.wordpress.org/shortpixel/)

[Herunterladen](https://downloads.wordpress.org/plugin/enable-media-replace.4.1.8.zip)

 * [Details](https://de.wordpress.org/plugins/enable-media-replace/#description)
 * [Rezensionen](https://de.wordpress.org/plugins/enable-media-replace/#reviews)
 *  [Installation](https://de.wordpress.org/plugins/enable-media-replace/#installation)
 * [Entwicklung](https://de.wordpress.org/plugins/enable-media-replace/#developers)

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

## Beschreibung

**A free, lightweight and easy to use plugin that allows you to seamlessly replace
an image or file in your Media Library by uploading a new file in its place. No 
more deleting, renaming and re-uploading files! Now fully compatible with [WP Offload Media!](https://wordpress.org/plugins/amazon-s3-and-cloudfront/)

New beta feature! You can now remove the background of your images for better integration
with eCommerce solutions! Supported by the friendly team that created [ShortPixel](https://wordpress.org/plugins/shortpixel-image-optimiser/)
🙂

#### Es spart wirklich Zeit

Findest du es nicht auch mühsam und kompliziert, eine Datei zuerst löschen zu müssen
und dann eine mit genau dem gleichen Namen hochzuladen, wenn du ein Bild oder einen
andere Datei in der WordPress-Mediathek aktualisieren möchtest?

Nicht mehr!

Now you can replace any uploaded file in the Edit Media view, where it should be.
Replacing Media can be done in two ways:

#### Es ist einfach, eine Datei zu ersetzen

 1. Simply replace the file. This option requires you to upload a file of the same 
    type as the file you want to replace. The attachment name remains the same regardless
    of what the file you upload is called.
 2. Replace the file, use the new file name, and update all links. If you check this
    option, the old file will be replaced with the name and type of the file you are
    uploading. All links pointing to the current file will be updated to point to the
    new file name. Additional options for the folder to put the new file in or the 
    date of the new file are also available on the replace screen.

Dies ist ein sehr mächtiges Plugin und unverzichtbar für jede größere WordPress-
Website. Jetzt auch mit Vorschau des ersetzenden Bildes!

#### New beta feature: You can now remove the background of any image!

Similar to replacing media, you can also remove the background of the images from
the Media Library! The background removal feature sends the images to ShortPixel’s
API, removes the background and sends them back in a preview window. If everything
looks good, just replace the image with the one that has the background removed!
If the source image is a PNG file, you will get a transparent background, while 
the other images default to a solid white background. You also have the option to
choose a different color with an embedded color picker.
 The background removal 
feature is still in beta and will be free of charge for a reasonable usage.

If you don’t want to use the background removal feature, add this line to your theme’s
functions.php file, or use a plugin like [Code Snippets](https://wordpress.org/plugins/code-snippets/):

    ```
    `add_filter( 'emr/feature/background', '__return_false' );```
    ```

A similar filter, for the remote notification system is:

    ```
    `add_filter( 'emr/feature/remote_notice', '__return_false' );```
    ```

To shorten the wait time before redirecting to the media editing screen, use the
following filter and specify the wait time in seconds (0 means that redirection 
is immediate, but may cause problems in certain configurations):

    ```
    `add_filter('emr/success/timeout', function () { return 3; });```
    ```

#### Datei-Änderungsdatum anzeigen

Es gibt einen Shortcode, der das Datum der letzten Dateiänderung in einer Seite 
oder einem Beitrag anzeigt Der Code ist:
 [file_modified id=XX format=XXXX] wobei„
id“ eine Pflichtangabe ist und „format“ optional. Standardmäßig ist dies das Datums-/
Zeitformat deiner WordPress-Installation.

Der Code `[file_modified id=870]` z. B. würde anzeigen, wann die Datei mit der ID
870 das letzte mal aktualisiert wurde. Um die ID einer Datei herauszufinden, schaue
in die URL, wenn du die Datei in den Mediathek bearbeitest (siehe Screenshot Nummer#
4).

Wenn du mehr Kontrolle darüber haben möchtest, in welchem Format das Datum angezeigt
werden soll, benutze die Format-Option. Beispielsweise würde `[file_modified id=
870 format=Y-m-d]` das Datei-Änderungsdatum anzeigen, nicht jedoch die Uhrzeit. 
Die Format-Option benutzt die [Standard-Tags der PHP-Funktion date()](http://php.net/manual/en/function.date.php).

**Weitere Plugins von [ShortPixel](https://shortpixel.com):**

 * [FastPixel Caching](https://wordpress.org/plugins/fastpixel-website-accelerator/)–
   WP Optimization made easy
 * [ShortPixel Image Optimizer](https://wordpress.org/plugins/shortpixel-image-optimiser/)–
   Image optimization & compression for all the images on your website, including
   WebP & AVIF delivery
 * [ShortPixel Adaptive Images](https://wordpress.org/plugins/shortpixel-adaptive-images/)–
   On-the-fly image optimization & CDN delivery
 * [Resize Image After Upload](https://wordpress.org/plugins/resize-image-after-upload/)–
   Automatically resize each uploaded image
 * [reGenerate Thumbnails Advanced](https://wordpress.org/plugins/regenerate-thumbnails-advanced/)–
   Easily regenerate thumbnails
 * [WP SVG Images](https://wordpress.org/plugins/wp-svg-images/) – Secure upload
   of SVG files to Media Library

**Get in touch!**

 * E-Mail [https://shortpixel.com/contact](https://shortpixel.com/contact)
 * Twitter [https://twitter.com/shortpixel](https://twitter.com/shortpixel)
 * Facebook [https://www.facebook.com/ShortPixel](https://www.facebook.com/ShortPixel)
 * LinkedIn [https://www.linkedin.com/company/shortpixel](https://www.linkedin.com/company/shortpixel)

### Wunschliste / Künftige Attraktionen

Hast du Verbesserungsvorschläge? Zögere nicht, ShortPixel [hier](https://shortpixel.com/contact)
zu kontaktieren.

### Mitwirken

Wenn du uns dabei helfen möchtest, das Plugin zu verbessern, freuen wir uns [hier](https://github.com/short-pixel-optimizer/enable-media-replace)
auf deine Pull Requests via GitHub.

## Screenshots

 * [[
 * Der neue Link in der Mediathek.
 * [[
 * Der Button zum Ersetzen, wie er in der Ansicht „Medium bearbeiten“ angezeigt 
   wird.
 * [[
 * Die Upload-Optionen.
 * [[
 * Lies die Datei-ID aus der Bearbeiten-URL ab

## Installation

Schnelle und einfache Installation:

 1. Lade den Ordner `enable-media-replace` in dein Plugin-Verzeichnis hoch
 2. Aktiviere das Plugin in WordPress über das Menü „Plugins“
 3. Erledigt!

## FAQ

### Wo melde ich in diesem Plugin gefundene Sicherheitslücken?

Please report security bugs found in the source code of the Enable Media Replace
plugin through the [Patchstack Vulnerability Disclosure Program](https://patchstack.com/database/vdp/enable-media-replace).
The Patchstack team will assist you with verification, CVE assignment, and notify
the developers of this plugin.= What does this plugin actually do? =

Mit diesem Plugin kannst du ganz einfach Dateien aktualisieren/ersetzen, die sich
in der Mediathek befinden.

### Wie funktioniert es?

In der Ansicht „Medium bearbeiten“ wird eine neue Option verfügbar, „Datei ersetzen“.
Hiermit kannst du eine neue Datei hochladen, um die alte zu ersetzen.

### Ich habe eine Datei ersetzt, aber es ändert sich nichts!

Das passiert hauptsächlich aus zwei Gründen.

Als erstes solltest du sicherstellen, dass du nicht eine zwischengespeicherte Version
der Datei angezeigt bekommst (Cache leeren) – besonders dann, wenn du ein Bild ersetzt
hast. Benutze die Funktion „Neu laden“ in deinem Browser, evtl. musst du zusätzlich
SHIFT dabei drücken.

Wenn sich damit die Anzeige wirklich nicht ändert, kontrolliere, dass WordPress 
Schreibrechte in deinem Datei-Upload-Verzeichnis hat. Falls du deine WordPress-Installation
verschoben hast (vielleicht auf einen neuen Server), werden normalerweise die Zugriffsrechte
zurückgesetzt. So kann es passieren, dass WordPress keine Schreibrechte mehr hat.
Wenn du damit Schwierigkeiten hast, kontaktiere den Betreiber deines Webservers.

## Rezensionen

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

### 󠀁[The best tool ever and still free](https://wordpress.org/support/topic/the-best-tool-ever-and-still-free/)󠁿

 [Klaus Wilde](https://profiles.wordpress.org/klwild/) 6. März 2026 1 Antwort

The best tool ever and still free. It’s not needed all the time, but kudos to the
developers anyway

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

### 󠀁[useful for batch replacing via media library on latest wordpress](https://wordpress.org/support/topic/sadly-not-that-useful-when-editing-images-in-a-post/)󠁿

 [platinumshore](https://profiles.wordpress.org/platinumshore/) 22. November 2025
7 Antworten

might be useful for bulk changing images within the media library, but not of any
use when trying to change an image via the post editor.. a nice replace option would
be wonderful.. but as it is not much use for myself on single posts – using latest
version of wordpress which i think is 6.8.3 Edited.. damn.. just found out that 
the images i was trying to change were set for some reason set as ‚custom urls‘ 
despite been in the media library (maybe due to using the auto insert plugin from
content from another website?), if set directly to the media library then a replace
option in latest wordpress automatically appears anyway.. my ERROR. changed the 
star rating to 5/5 for just batch editing in the media library cuz latest wordpress
if an image is properly set to the media library offers a replace option anyway..

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

### 󠀁[Used everywhere !!](https://wordpress.org/support/topic/used-everywhere-2/)󠁿

 [Ferdy S](https://profiles.wordpress.org/ferdysopian/) 19. November 2025 1 Antwort

very useful when you only need to change files

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

### 󠀁[Has major Bricks Builder integration issue](https://wordpress.org/support/topic/has-major-bricks-builder-integration-issue/)󠁿

 [Lbch](https://profiles.wordpress.org/iinteractivenl/) 9. September 2025 1 Antwort

The plugin has a major integration issue with Bricks Builder, that will potentially
break pages.This issue has been acknowledged but is still not fixed after more than
a year.For more information check:…/support/topic/replace-svg-files/…/support/topic/
bricks-builder-compatibility-still-not-fixed/Or search the Bricks Builder support
forum.

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

### 󠀁[Wonderful, thanks so much](https://wordpress.org/support/topic/wonderful-thanks-so-much/)󠁿

 [jonathanedwardmann](https://profiles.wordpress.org/jonathanedwardmann/) 20. Juni
2025 1 Antwort

Easy to set up and use, thanks for a terrific plugin!

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

### 󠀁[A necessity](https://wordpress.org/support/topic/a-necessity-6/)󠁿

 [myracat](https://profiles.wordpress.org/myracat/) 23. April 2025 1 Antwort

Finding this plugin was basically the impetus for switching our support center to
a Wordpress setup. We have to update screenshots all the time in multiple locations,
so this plugin means we just update the one image from the media library. HUGE time
saver and it makes it really easy 🙂

 [ Alle 300 Rezensionen lesen ](https://wordpress.org/support/plugin/enable-media-replace/reviews/)

## Mitwirkende und Entwickler

„Enable Media Replace“ ist Open-Source-Software. Folgende Menschen haben an diesem
Plugin mitgewirkt:

Mitwirkende

 *   [ ShortPixel ](https://profiles.wordpress.org/shortpixel/)

„Enable Media Replace“ wurde in 35 Sprachen übersetzt. Danke an [die Übersetzer](https://translate.wordpress.org/projects/wp-plugins/enable-media-replace/contributors)
für ihre Mitwirkung.

[Übersetze „Enable Media Replace“ in deine Sprache.](https://translate.wordpress.org/projects/wp-plugins/enable-media-replace)

### Interessiert an der Entwicklung?

[Durchstöbere den Code](https://plugins.trac.wordpress.org/browser/enable-media-replace/),
sieh dir das [SVN-Repository](https://plugins.svn.wordpress.org/enable-media-replace/)
an oder abonniere das [Entwicklungsprotokoll](https://plugins.trac.wordpress.org/log/enable-media-replace/)
per [RSS](https://plugins.trac.wordpress.org/log/enable-media-replace/?limit=100&mode=stop_on_copy&format=rss).

## Änderungsprotokoll

#### 4.1.8

Release date: March 3, 2026
 * Fix: Unauthorized modification and deletion of media
files vulnerability responsibly disclosed by the WordFence team; * Fix: The plugin
works for RTL languages now; * Fix: Textdomain modules are loaded properly in all
cases; * Tweak: Added a permission check for the ShortPixel recommendation displayed
after the replacement; * Tweak: Added the raw file path to the filemodel filter;*
Tweak: Added a filter to disable the database replacements (thanks @seed-glauco);*
Tweak: Updated the banners from the plugin pages.

#### 4.1.7

Release date: October 2, 2025
 * Fix: A potential „Cross-Site Scripting“ vulnerability
has been patched, responsibly disclosed by the WordFence team; * Fix: Corrected 
a few text typos.

#### 4.1.6

Release date: March 25, 2025
 * Fix: A potential „Reflected Cross-Site Scripting“
vulnerability has been patched, responsibly disclosed by the PatchStack team.

#### 4.1.5

Release date: December 14, 2023
 * Tweak: Added a filter to disable the remote notification
system added in version 4.1.0; * Fix: A potential „Reflected Cross-Site Scripting“
vulnerability has been patched, responsibly disclosed by the Wordfence team.

#### 4.1.4

Release date: September 22, 2023
 * Fix: The latest security fix was breaking the
replacements made with Beaver Builder (and possibly other builders);

#### 4.1.3

Release date: September 14, 2023
 * Fix: A possible PHP Object Injection was patched,
which could be exploited under certain conditions; * Fix: ShortPixel Image Optimizer
handles offloading when both plugins are used with WP Offload Media.

#### 4.1.2

Release date: April 24, 2023
 * Tweak: Reduced the wait time before redirecting 
to the media edit page to half (5s); * Fix: If an item is not offloaded, no attempt
is made to update its data; * Fix: Removed some double spaces from the plugin strings(
thanks to @Presskopp).

#### 4.1.1

Release date: April 13, 2023
 * Tweak: Added a filter to reduce or remove the wait
time before redirecting to the media edit page; * Fix: Replacement works again on
multisite setups where the plugin reported the path outside the uploads folder; *
Fix: In some cases, replacement didn’t work when images were offloaded; * Fix: Some
translation strings were corrected (thanks @alexclassroom !).

#### 4.1.0

Release date: March 28, 2023
 * New: Integration with WP Offload Media; items that
are offloaded can now be replaced correctly; * New: Switch to a Replacer module 
that improves the code and makes it more robust; * New: Adding an intermediate confirmation
page to solve possible redirection issues; * Tweak: The new image can now be dragged
and dropped directly into the preview area; * Tweak: Improved the display of both
the original image and the new image on the replacement screen; * Tweak: Improved
the notification system and added a mechanism for remote notifications; * Tweak:
Updated the texts and banners to look better on the replacement screen; * Fix: Added
documentation in the readme to disable the background removal feature (kudos to 
@jstask82); * Fix: Increased the security of the plugin by adding checks for various
AJAX calls;

#### 4.0.3

Release date: February 21, 2023
 * Fix: background removal notification is no longer
displayed when this feature is disabled with the filter; * Compat: improved compatibility
with PHP 8.1 and 8.2 * Tweak: updated the banners on the replace page.

#### 4.0.2

Release date: January 13, 2023
 * Fix: patched a security vulnerability that could
allow loading an unauthorized file during the replace operation; * Fix: finish the
replace operation even if the tmp file cannot be removed due to file permissions
issues; * Fix: when replacing a scaled file with a non-scaled file, some links were
broken; * Fix: under certain conditions a PHP warning about an undefined array key
was displayed.

#### 4.0.1

Release date: November 23, 2022
 * Fix: files are now replaced correctly in environments
running on Windows/IIC servers; * Fix: the mime type is now correctly detected, 
so that a warning is no longer displayed when replacing PDFs; * Fix: the plugin 
no longer tries to load its code for post IDs that are not attachments, like comments;*
Fix: some warnings were displayed when using the Members plugin; * Compat: added
integration for SiteOrigin Page Builder to correctly replace files in its widgets;*
Compat: added `emr_after_remove_current` action hook (thanks @luistar15); * Tweak:
added filter to disable the background replace functionality.

#### 4.0.0

Release date: September 5th, 2022
 * New: added the functionality to remove the 
background for any image; * Fix: images added to the new block-style widgets were
not replaced; * Fix: the original file was not removed after replacement if a multilingual
plugin was installed; * Fix: additional checks were added to the new upload path
for replacements, to avoid possible vulnerabilities, kudos to @soulseekah; * Fix:
an object cache flush was added after an image was replaced to prevent the content
from still being cached in the post editor; * Fix: if there was no `_wp_attached_file`
in the postmeta table a fatal error was thrown; * Fix: the time zone was not displayed
correctly on the Replace Media screen; * Fix: added some additional checks for file
path to avoid `open_basedir` restrictions; * Fix: added titles for the Replace Media
and Remove Background screens; * Fix: various small CSS/JS fixes, wording updates
and code cleanups;

#### 3.6.3

Release date: November 25th, 2021
 * Fix: the shortcode `file-modified` works again
for non-privileged visitors as well; * Compat: if other plugins don’t properly use
WP Hooks, don’t return errors; * Tweak: updated banners list from the EMR screen.

#### 3.6.2

Release date: November 8th, 2021
 * Fix: there was an issue in file.php with checking
mime-type, resulting in weird mime-type values in certain cases (thanks @dougaxe1
for the PR); * Fix: if target mime type returns empty, don’t store that; * Tweak:
removed old notification about SPIO.

#### 3.6.1

Release date: October 27th, 2021
 * Fix: there was a broken image in one of the 
plugin notices; * Fix: added a check for the function `mime_content_type`, which
doesn’t seem to always be available on various hosts; * Fix: the plugin checks if
the current user has rights to install/activate plugins and only then displays the
1-click installers and also a filter is available now;

#### 3.6.0

Release date: October 11th, 2021
 * New: Constant EMR_CAPABILITY can define extra
user roles to allow and deny replacements; * New: Replacing an usual image with 
an SVG file will just replace all thumbnails by the main file; * New: Also replaces
caption when set in Exif data (when replacing with updating all links); * Tweak:
Added Now and Original options to Custom Date for usability; * Tweak: changes/updates
to the banners from the EMR screen; * Fix: EMR now respects edit_other_posts permissions
using default permissions; * Fix: EMR with ALLOW_UNFILTERED_UPLOADS enabled (and
allowed role) will not limit non-allowed uploads; * Fix: some missing and wrong 
text-domains are now corrected (thanks @alexclassroom); * Fix: a missing dot in 
the plugin description was preventing the transaltions to properly work; * Fix: 
the plugin can now be uninstalled/deleted on PHP 8.

#### 3.5.0

Release date: October 29th 2020
 * New: EMR now replaces across all meta tables;*
New: the plugin remembers last used settings; * New: integration with the LiteSpeed
cache plugin and webserver; * Tweak: manual Logging will no longer work if user 
is not logged as administrator; * Tweak: added `post_id` to `enable-media-replace-
upload-done` action args, props to @Jan Stiegler; * Fix: fully works now with Elementor;*
Fix: the issue for WP-Bakery and URL-Encoded links is now fixed; * Fix: the plugin
should now work with images added through Visual Composer; * Fix: EMR now uses queries
instead of WordPress functions, correctly handling slashes and JSON formats; * Fix:`-
scaled` images generated by WordPress are now removed when replacing an image;

#### 3.4.2

Release date: August 17th 2020
 * New – Also display files size in the replacement
windows; * Fix – Replacing image with pdf file would cause noticesi; * Fix – Compensation
for faulty WordPress installation that return empty error string on wp_upload_dir
and falsely return relative paths and urls on WP core functions; * Fix – When choosing‚
replace file and update names‘ and then uploading a file with identical name as 
source, it would postfix the duplicate name. This is no longer the case; * Fix –
Wording clarification for the situation when the filename is changed, which will
lead to broken links from external sites; * Fix – Added hard paths to require_once
satements in order to prevent WP-CLI errrors; * Fix – If source image doesn’t exist
or in error state, replacement would be prevented by Javascript issue.

#### 3.4.1

Release date: June 18th 2020
 * Fix – PHP Error when settings permissions failed.

#### 3.4.0

Release date: June 9th 2020
 * New – In edit media screen EMR notes user who replaced
file if this was not uploader; * New – Added Drag and Drop area for files; * New–
When replacing with new file name, now also possible to update upload path; * Fix–
Various minor CSS tweaks and fixes; * Update of Underlying libraries

#### 3.3.12

Release date: 27th April 2020
 * Fixed – When trying to upload over-limit file would
show too many error messages; * Language – 2 new strings added, 0 updated, 0 fuzzied,
and 0 obsoleted.

#### 3.3.11

Release date: 10th March 2020
 * Fix the crashing of certain frontend builders when
the plugin is active.

#### 3.3.10

Release date: 23rd February 2020
 * Fix issue with JSON encoding which was interfering
with Advanced Custom Fields and other plugins

#### 3.3.9

Release date: 23rd February 2020
 * Fix issue with JSON encoded strings * Language–
0 new strings added, 2 updated, 0 fuzzied, and 0 obsoleted

Release date: 19th February 2020
 * Fix issue with search/replacing non-image attachments
and query * Language – 0 new strings added, 2 updated, 0 fuzzied, and 0 obsoleted

#### 3.3.8

Release date: 18th February 2020
 * Fixes for WP 5.3+ -scaled images system. Will
now replace those as well. * Updating and replacing images and thumbnails should
now work for serialized (and such) metadata. – For Beaver Builder * Add extra warning
if mimetype is not allowed by WordPress for upload * Put Javascript version in wp_register_script*
Hidden double ‚replace media‘ * Replace Image label to Replace Media * Removed constant
S3_UPLOADS_AUTOENABLE * Improved detection of SVG image sizes * Fixed – Logger doesn’t
call wp_upload_dir when not debugging * Extra – Javascript tries to resume after
external errors. * Language – 0 new strings added, 2 updated, 0 fuzzied, and 0 obsoleted

#### 3.3.7

Release date: 13th November 2019
 * call the hook enable-media-replace-upload-done
on both modes * fix JSON compatibility for hostings that don’t have JSON module 
activated * Language – 0 new strings added, 0 updated, 0 fuzzied, and 0 obsoleted

#### 3.3.6

Veröffentlichungsdatum: 5. September 2019
 * JSON-Kompatibilität behoben für Hostings,
bei denen das JSON-Modul nicht aktiviert ist

#### 3.3.5

Release date: 25th July 2019
 * fix Replace button on the MediaLibrary image details
popup

#### 3.3.4

Release date: 23rd July 2019
 * compatibility fixes for WP version 4.8 and below*
cache killer

#### 3.3.3

Release date: 19th July 2019
 * Fix error „using $this when not in object context“
on some PHP versions

#### 3.3.2

Release date: 17th July 2019
 * Check if medium size !> 400px, display that one,
otherwise smallest. * Fixed: Links not updated when using Advanced Custom Fields*
Fixed: Fails silently when file is too big for upload * When source file does not
exist, show placeholder instead of failed image load * Fixed: Fatal error when replacing
images * Fixed: Not the right time zone on replace * Fixed Beaver Builder incompatibility
by not allowing replace with rename. * Fixed: Cannot replace non default WordPress
file types, even those allowed to upload [ Media Library Assistant compat ] * Fixed:
error when trying to remove a file that doesn’t exist – because the files are actually
on another server

#### 3.3.1

Release date: 18th June 2019
 * Fix error class not found on WPEngine

#### 3.3.0

 * When replacing an image and changing the name, Search / Replace is now also done
   on the meta_value of postmeta.
 * Replace PDF thumbnails too
 * Copy title from EXIF
 * RTL View incorporated into the CSS
 * ‘wp_handle_upload’ filter should be treated as such (and not as action)
 * Use wp_attached_file instead of the GUID
 * Fix: replace missing file
 * Fix: aphostrophe breaking the upload
 * Fix: broken „before“ image
 * Fix: update properly the date
 * Fix: errors for non-image items in Media Library
 * Fix: empty admin menu item created
 * Refactored all the code

#### 3.2.9

 * properly replace thumbnails names in the content when the replaced image has 
   a different aspect ratio, thus the new thumbnails have a different height in 
   the name.

#### 3.2.8

 * fix for failures in link updating when replacing file because of addslashes –
   use prepared query instead
 * replace basename with wp_basename because basename doesn’t work well with UTF8

#### 3.2.7

 * Add minimum required php version to run the plugin.
 * Security: Prevent direct access to php files.
 * Security: Prevent direct access to directories.
 * Security: Escape translation strings using `esc_attr__()` and `esc_html__()` 
   functions.
 * Probleme mit Rechts-nach-Links-Schreibrichtung behoben.

#### 3.2.6

 * no more 404 error if no image was selected when trying to replace it
 * added preview so you can check the image being replaced and also the image that’s
   being replaced with
 * .dat files can be replaced (functionality accidentally removed in the previous
   version)
 * added compatibility with S3 upload plugin
 * when an image is replaced the date is also updated

#### 3.2.5

 * remove the leftover setcookie and the plugins recommendations.

#### 3.2.4

 * Behoben: PDF-Vorschaubilder wurden beim Ersetzen einer PDF nicht erneuert.
 * Behoben: Textdateien mit Endung „.dat“ wurden nicht ersetzt.

#### 3.2.3

 * ShortPixel-Empfehlung auf Zweit-Websites einer Netzwerk-Installation deaktiviert,
   wenn es über das Netzwerk aktiviert wurde.

#### 3.2.2

 * Behoben: Kompatibilität zu „ShortPixel“ und „Resize Image After Upload“
 * ShortPixel-Links und -Bilder hinzugefügt. Problem behoben, dass ShortPixel-Empfehlung
   nicht verworfen werden konnte.

#### 3.2.1

 * Fehlerbehebung: Tippfehler führte zu Änderungen der Metadaten (danke an GitHub-
   Nutzer icecandy!)
 * ShortPixel-Links und -Bilder entfernt

#### 3.2

 * Getestet mit WP 4.9.4
 * ShortPixel-Link in der Ansicht „Medien ersetzen“ hinzugefügt

#### 3.1.1

 * Behoben: Fehler, bei dem die URL in Seiten/Beiträgen nicht aktualisiert wurde,
   wenn der Link den Domainnamen nicht enthielt

#### 3.1

 * Alten Code rausgeworfen, bessere Filter-Funktionen hinzugefügt. Danke an die 
   GitHub-User speerface, aaemnnosttv, und ururk.
 * Brandneuer Code, um andere Bildgrößen in eingebetteten Medien zu ersetzen. Danke
   an GitHub-User ianmjones!
 * Getestet mit WordPress 4.8

#### 3.0.6

 * Getestet mit WordPress 4.7.2
 * Neue Übersetzungen für Portugiesisch (pt_PT), Dank an Pedro Mendonca! https://
   github.com/mansj/enable-media-replace/commit/b6e63b9a8a3ae46b3a6664bd5bbf19b2beaf9d3f

#### 3.0.5

 * Getestet mit WordPress 4.6.1

#### 3.0.4

 * Tippfehler in .pt Übersetzungen behoben (https://github.com/mansj/enable-media-
   replace/pull/18)
 * Bessere Fehlerbehandlung in den modification date functions (https://github.com/
   mansj/enable-media-replace/pull/16)
 * Getestet mit WordPress 4.4.1

#### 3.0.3

 * Alte Methode zum Nachweis von MediaScreen ausrangiert. Schaltfläche, um Medien
   zu ersetzen ist jetzt an mehr Stellen!
 * Made sure the call to get_attached_file() no longer skips filters, in response
   to several users wishes.
 * Fehlermeldungen bei chmod() unterdrückt
 * Japanische Übersetzung hinzugefügt (Danke, Chacomv!)

#### 3.0.2

 * Sprachdateien aufgeräumt
 * Portugiesische Übersetzung hinzugefügt (danke Pedro-Mendonca!)
 * Getestet mit WordPress 4.1
 * Fehlende schwedische Übersetzungen hinzugefügt

#### 3.0.1

 * Kleine Korrektur: den EMR-Link in der Medienansicht Liste wieder einfügen.

#### 3.0

 * Aktualisiert für WordPress 4.0
 * Vererben von Berechtigungen für die ersetzten Dateien, [Danke Fiwad](https://github.com/fiwad)

#### 2.9.7RC1

 * Lokalisierung-Dateien in ein eigenes Verzeichnis verschoben. [Danke Michael](https://github.com/michael-cannon)
 * Screenshots in ein eigenes Verzeichnis verschoben. [Danke Michael](https://github.com/michael-cannon)

#### 2.9.6

 * Korrektur von Grant K Norwood um mögliche Sicherheitsprobleme in SQL-Anweisungen
   zu beheben. Danke Grant!
 * Created GitHub repo for this plugin, please feel free to contribute at github.
   com/mansj/enable-media-replace

#### 2.9.5

 * Bug fix for the short code displaying the modification date of a file
 * Alle Datenbankabfragen in Vorbereitung auf WP 3.9 aktualisiert

#### 2.9.4

 * Bug-Fix für Zeitzonenänderungen in WordPress
 * Kleinere UI-Änderung, um den Benutzer zu informieren, was eigentlich passiert,
   wenn ein Bild ersetzt oder ein neuer Dateiname benutzt wird

#### 2.9.3

 * Added call to update_attached_file() which should purge changed files for various
   CDN and cache plugs. Thanks Dylan Barlett for the suggestion! (https://wordpress.
   org/support/topic/compatibility-with-w3-total-cache)
 * Suppressed possible error in new hook added in 2.9.2

#### 2.9.2

 * Kleiner Bug-fix
 * Added hook for developers to enable purging possible CDN when updating files –
   thanks rubious for the suggestion!

#### 2.9.1

 * Übersetzung für Brasilianisches Portugiesisch hinzugefügt, danke Roger Nobrega!
 * Zusätzliche Filter für die Dateinamenerstellung hinzugefügt, dank Jonas Lundman
   für den Code!
 * Änderungsdatum zum Bildschirm „Anhang bearbeiten“ hinzugefügt, danke Jonas Lundman
   für den Code!
 * Verbessert die Löschmethode für alte Datei-/Bild-Vorschaubilder, um unnötige 
   Fehlermeldungen zu vermeiden und verweiste Vorschaubilder besser löschen zu können

#### 2.9

 * Added Portuguese translation, thanks Bruno Miguel Bras Silva!
 * Neuen Bearbeitungslink aus der Medienbibliothek integriert
 * Nach dem Hochladen führt das Plugin jetzt zurück zur Baerbeiten-Seite anstatt
   zur Bibliothek

#### 2.8.2

 * Eine weitere Änderung vorgenommen, die hoffentlich in bestimmten Fällen einen
   Fehler beheben wird. Vielen Dank an „Joolee“ aus dem WordPress.org Forum!
 * Russische Übersetzung von „Vlad“ hinzugefügt.

#### 2.8.1

 * Einen kleineren Fehler behoben, der Fehlermeldungen beim Löschen von alten Bilddateien
   auf einigen Systemen verursachen konnte.

#### 2.8

 * Neue und sicherere Methode um Miniaturansichten zu löschen, wenn eine neue Bilddatei
   hochgeladen wird.
 * Neue Übersetzungen für vereinfachtes Chinesisch (Danke Tunghsiao Liu) und Italienisch(
   Danke Marco Chiesi)
 * Added method for detecting upload screen to ensure backward compatibility with
   versions pre 3.5

#### 2.7

 * Ein paar Änderungen um die Kompatibilität mit WordPress 3.5 zu gewährleisten.
   Danke an Elizabeth Powell für die korrekturen!

#### 2.6

 * Neue und verbesserte Überprüfung von hochgeladenen Dateien. Jetzt mit den WP-
   Funktionen für die Überprüfung von Dateityp und Erweiterung. Danke nochmal an
   meinen alten Freund Ulf „Årsta“ Härnhammar, dass er uns alle auf Trab hält! 🙂
   Dies sollte hoffentlich auch die Probleme beheben, die manche mit ihren Installationen
   gehabt haben, dass PDF-Dateien nicht keine erlaubten Dateitypen sind.

#### 2.5.2

 * Der „zuverlässigere Weg“ zur Bestimmung von MIME-Typen erwies sich als weniger
   zuverlässig. Es scheint keine perfekte Form der Durchführung einer zuverlässige
   Überprüfung für MIME-Typen auf eine hochgeladene Datei zu geben, die auch wirklich
   sinnvoll ist. Ich habe jetzt Überprüfungen hinzugefügt, ob mime_content_type()
   verfügbar ist, bevor ich sie benutze. Die alte Methode wird als Fallback benutzt.
   Es ist bei weitem nicht schön, also wenn jemand einen besseren Weg kennt, bitte
   kontaktiere mich!

#### 2.5.1

 * Fehlerkorrektur – es gibt jetzt eine zuverlässigere Möglichkeit, den Dateityp
   beim Upload zu bestimmen. Somit entfällt beim Hochladen von PDF-Dateien die lästige
   Nachricht „Dieser Dateityp ist aus Sicherheitsgründen leider nicht erlaubt“.
 * Neue Übersetzung für Dänisch – Danke Michael Bering Petersen!

#### 2.5

 * Getestet mit WordPress 3.2.1
 * Neue Übersetzung auf Deutsch – Danke Martin Lettner!
 * Neue Übersetzung in Französisch – Danke François Collette!

#### 2.4.1

 * Fehlerbehebung für WordPress 3.1 RC. Jetzt ordnungsgemäß getestet, und sollte
   mit 3.1 arbeiten, wann immer es endlich rauskommt. 🙂

#### 2.4

 * Fehlerbehebungen, Sicherheitsverbesserungen. Danke an meinem alten Kumpel Ulf„
   Årsta“ Härnhammar für den Hinweis!
 * Neue Methode des Hochladens vermeidet das Umgehen von WP für mehr Sicherheit.

#### 2.3

 * Viel Code gekürzt und verbessert, danke an Ben ter Stal! Jetzt sollte alles ordnungsgemäß
   mit Windows-Systemen arbeiten, bessere Sicherheit, optimiertes Laden und vieles
   mehr.
 * Niederländische Übersetzung von Ben ter Stal hinzugefügt.

#### 2.2

 * Bug-Fix, Tippfehler in popup.php korrigiert. Danke Bill Dennen und anderen für
   diesen Hinweis!

#### 2.1

 * Neuer Shortcode – Änderungsdatum der Datei auf deiner Website anzeigen (siehe
   Beschreibung für mehr Info)
 * Ein paar Bugfixes für die endgültige Version 3.0 – danke an Jim Isaacs für den
   Hinweis!

#### 2.0.1

 * Added support for SSL admin

#### 2.0

 * Popup mit Inline-Navigation beim Austausch von Medien ersetzt
 * Anweisungen im Admin-Link unter Medien hinzugefügt

#### 1.4.1

 * Getestet mit WordPress 3.0 Beta 2

#### 1.4

 * Short-Tags für eine bessere Kompatibilität entfernt.

#### 1.3

 * Zusätzliche Unterstützung für die wp_config-Einstellung „FORCE_SSL_ADMIN“

#### 1.2

 * Russische Übersetzung hinzugefügt, danke Fat Cower.

#### 1.1

 * Kleiner Bugfix, funktioniert jetzt auch mit IE8!

#### 1.0

 * Erste stabile Version des Plugins.

## Meta

 *  Version **4.1.8**
 *  Zuletzt aktualisiert **vor 1 Monat**
 *  Aktive Installationen **600.000+**
 *  WordPress-Version ** 4.9.7 oder höher **
 *  Getestet bis **6.9.4**
 *  PHP-Version ** 5.6 oder höher **
 *  Sprachen
 * [Catalan](https://ca.wordpress.org/plugins/enable-media-replace/), [Chinese (Taiwan)](https://tw.wordpress.org/plugins/enable-media-replace/),
   [Czech](https://cs.wordpress.org/plugins/enable-media-replace/), [Danish](https://da.wordpress.org/plugins/enable-media-replace/),
   [Dutch](https://nl.wordpress.org/plugins/enable-media-replace/), [Dutch (Belgium)](https://nl-be.wordpress.org/plugins/enable-media-replace/),
   [English (Australia)](https://en-au.wordpress.org/plugins/enable-media-replace/),
   [English (Canada)](https://en-ca.wordpress.org/plugins/enable-media-replace/),
   [English (New Zealand)](https://en-nz.wordpress.org/plugins/enable-media-replace/),
   [English (UK)](https://en-gb.wordpress.org/plugins/enable-media-replace/), [English (US)](https://wordpress.org/plugins/enable-media-replace/),
   [Finnish](https://fi.wordpress.org/plugins/enable-media-replace/), [French (Canada)](https://fr-ca.wordpress.org/plugins/enable-media-replace/),
   [French (France)](https://fr.wordpress.org/plugins/enable-media-replace/), [Galician](https://gl.wordpress.org/plugins/enable-media-replace/),
   [German](https://de.wordpress.org/plugins/enable-media-replace/), [German (Switzerland)](https://de-ch.wordpress.org/plugins/enable-media-replace/),
   [Hebrew](https://he.wordpress.org/plugins/enable-media-replace/), [Italian](https://it.wordpress.org/plugins/enable-media-replace/),
   [Japanese](https://ja.wordpress.org/plugins/enable-media-replace/), [Korean](https://ko.wordpress.org/plugins/enable-media-replace/),
   [Polish](https://pl.wordpress.org/plugins/enable-media-replace/), [Portuguese (Brazil)](https://br.wordpress.org/plugins/enable-media-replace/),
   [Portuguese (Portugal)](https://pt.wordpress.org/plugins/enable-media-replace/),
   [Romanian](https://ro.wordpress.org/plugins/enable-media-replace/), [Russian](https://ru.wordpress.org/plugins/enable-media-replace/),
   [Spanish (Chile)](https://cl.wordpress.org/plugins/enable-media-replace/), [Spanish (Colombia)](https://es-co.wordpress.org/plugins/enable-media-replace/),
   [Spanish (Costa Rica)](https://es-cr.wordpress.org/plugins/enable-media-replace/),
   [Spanish (Ecuador)](https://es-ec.wordpress.org/plugins/enable-media-replace/),
   [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/enable-media-replace/),
   [Spanish (Spain)](https://es.wordpress.org/plugins/enable-media-replace/), [Spanish (Venezuela)](https://ve.wordpress.org/plugins/enable-media-replace/),
   [Swedish](https://sv.wordpress.org/plugins/enable-media-replace/), [Turkish](https://tr.wordpress.org/plugins/enable-media-replace/)
   und [Ukrainian](https://uk.wordpress.org/plugins/enable-media-replace/).
 *  [Übersetze in deine Sprache](https://translate.wordpress.org/projects/wp-plugins/enable-media-replace)
 * Schlagwörter
 * [change media](https://de.wordpress.org/plugins/tags/change-media/)[remove background](https://de.wordpress.org/plugins/tags/remove-background/)
   [replace](https://de.wordpress.org/plugins/tags/replace/)[replace image](https://de.wordpress.org/plugins/tags/replace-image/)
 *  [Erweiterte Ansicht](https://de.wordpress.org/plugins/enable-media-replace/advanced/)

## Bewertungen

 4.4 von 5 Sternen.

 *  [  240 5-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/enable-media-replace/reviews/?filter=5)
 *  [  13 4-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/enable-media-replace/reviews/?filter=4)
 *  [  9 3-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/enable-media-replace/reviews/?filter=3)
 *  [  6 2-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/enable-media-replace/reviews/?filter=2)
 *  [  32 1-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/enable-media-replace/reviews/?filter=1)

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

[Alle Rezensionen anzeigen](https://wordpress.org/support/plugin/enable-media-replace/reviews/)

## Mitwirkende

 *   [ ShortPixel ](https://profiles.wordpress.org/shortpixel/)

## Support

Behobene Probleme in den letzten zwei Monaten:

     1 von 1

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

## Spenden

Möchtest du die Weiterentwicklung dieses Plugins unterstützen?

 [ Für dieses Plugin spenden ](https://www.paypal.me/resizeImage)