Replace Images in Wordpress

Joined
Apr 7, 2016
Messages
337
Likes
225
Degree
1
I'm building a client site that needs a load of purchased stock images, I'm using the watermarked comps until they approve them. Is there an easy way to later overwrite them with the purchased version? I'd like to preserve the placement, name and alt text in the post.

EDIT: Probably should have searched for it first, looks like there's plugins. I'm going to give this a shot. https://wordpress.org/plugins/enable-media-replace/

If anybody has a simpler, cleaner, non plugin route, I'm still interested.
 
Last edited:
If it's easy to maintain file names, you can overwrite the original image with the new one via FTP and then regenerate the thumbs in WP.

Still uses a plugin, but its a very popular and widely used one (1+ million installs): https://wordpress.org/plugins/regenerate-thumbnails/

You know this, I know this, but I'm still saying it: backup first.
 
If it's easy to maintain file names, you can overwrite the original image with the new one via FTP and then regenerate the thumbs in WP.

Still uses a plugin, but its a very popular and widely used one (1+ million installs): https://wordpress.org/plugins/regenerate-thumbnails/

You know this, I know this, but I'm still saying it: backup first.

I've seen plugin this before but didn't realize that's what it was for. Thanks!

I will always welcome friendly reminders to make backups, I've been burned by my own forgetfulness and impatience before.
 
Regenerate Thumbnails uses a great deal of resources, if you use that on shared hosting it might just kill your account temporary as the hosting will throttle you. I'd use that with care since although it's effective it is also inconvenient on some low resource hosting plans.
 
Back