admin管理员组

文章数量:1310074

I have a running eCommerce site, but I've recently created new product imagery for the entire site. The new images are named identical to the old images, so would simply dumping them via FTP work? Could my customers still have old cached versions in their browser which don't update to the newer models? I'm trying to avoid having to go through every single product and manually set the new images. I'm open to buying a plugin if there's one that'll help me with this.

I have a running eCommerce site, but I've recently created new product imagery for the entire site. The new images are named identical to the old images, so would simply dumping them via FTP work? Could my customers still have old cached versions in their browser which don't update to the newer models? I'm trying to avoid having to go through every single product and manually set the new images. I'm open to buying a plugin if there's one that'll help me with this.

Share Improve this question asked Sep 2, 2016 at 5:22 RobRob 1411 silver badge2 bronze badges
Add a comment  | 

2 Answers 2

Reset to default 1

Unfortunately, trying to pull a fast one on the WordPress media library with FTP won't work. You'll need to import them through the WP admin so they get added to the database, resized, and whatever other special sauce WP adds.

I've never used it, but this plugin sounds like it might be right up your alley. https://wordpress/plugins/enable-media-replace/

Well, this can be relative easy if all media library was uploaded via Wordpress, so an update via FTP can be done.

Once you have uploaded all new images (the main of each post), you have to run an update for thumbnails because WP takes the main image and creates thumbnails like: image20, the thumbnail will be image20-200x250 image20-640x380 and so on as your template requires. So via FTP you can update the main, but thumbnails need to be refreshed.

For this you can run a plugin https://wordpress/plugins/force-regenerate-thumbnails/ this will create new thumbnails and will and delete the ones you do not need on your template.

本文标签: Replace Woocommerce Images