Are you looking to replace an image that you have already previously uploaded to WordPress? Quite often you upload an image to your website, make a few tweaks and re-upload the image. Well, instead of uploading a new image to your website, you can quite easily just replace it. In today’s article, we will show you the easiest way to replace your photos and media files in WordPress.
Unfortunately, WordPress doesn’t allow you to replace photos or media files (hopefully in future they will allow this though). So, until then, to update previously uploaded files, you’ll need to use a plugin such as Enable Media Replace.
By default, WordPress does not allow you to replace photos or media files. To update previously uploaded files, you’ll need to use a plugin like Enable Media Replace.
Steps to replace the media files in WordPress
- Step 1. Install and activate the ‘Enable Media Replace’ plugin
- Step 2. Go to your WordPress Media Library and set it to ‘list-view’
- Step 3. Click on the ‘Replace Media’ option under the filename
- Step 4. Choose your new file from your computer and upload it
Ready to get started? Awesome, let’s do this!
Step 1: Install and Activate ‘Enable Media Replace’ Plugin
First things first, we need to install and activate the Enable Media Replace plugin to your WordPress site.
To do this, you can go to Plugins → Add New from the WordPress CMS. In the search bar type; ‘Enable Media Replace’ and it most likely will be the first selection.
As usual, click the ‘Install Now’ button for the plugin, ‘Activate’ it.
Step 2: Go to your WordPress Media Library and set it to ‘list-view’
Upon activating the plugin, you can now go to Media → Library from the WordPress CMS.
By default, the photos are in grid-view. Go ahead and change it to list-view as shown below:
The blue icon as shown above.
Step 3: Click on the ‘Replace Media’ option under the filename
Hover over the image or media file you want to replace, and you’ll see the ‘Replace Media’ option, so click on it to replace that media file.
Step 4: Choose your new file from your computer and upload it
You will see a new page with the option to browse to a new media file to replace with the old image. Click on the ‘Browse’ button and select the new file from your computer.
From here, you will see two options. You can either just to simply replace the file, alternatively, you can replace the file, use new file name, and update all links throughout the site.
Now, simply click on the ‘Upload’ button and it will replace the image for you.
…So yeah, that’s pretty much it. We hope this article has helped you to learn how to replace your photos and media files in WordPress. It’s very useful and can save time and storage on your server so it’s worth checking out!