Images uploaded with same name as previously deleted images not updating
-
I am having a recurring issue with images in my media library. I am updating a site created by a previous admin who used a lot of copyrighted images, so I am trying to replace them with new images licensed under Creative Commons. I want to use the same filenames for the new images because the naming format helps me keep things organized.
The problem is, even though I delete the old image, and then upload the new one with the same name, the image never updates and still shows the old image. If I change the name of the file then it shows correctly, but I really don’t want to rename them! My first thought was that the images were just cached on my browser, so I cleared my cache, but the images are still showing the old versions. I tried different browsers and different devices with the same result.
I tried deleting the images via FTP instead of with the WordPress dashboard and still, same thing. When I examine the newly uploaded files via FTP, it is clear by comparing file size that the new image IS there, but for some reason I am still seeing the old image. I am stumped!
This happens EVERY time I upload a new image under an old filename, but an example can be found at https://garnergrows.jettesetliving.com/recipes/guacamole/.
This page is using the image file: https://i0.wp.com/garnergrows.jettesetliving.com/wp-content/uploads/recipes_guacamole.jpg, which has been changed and uploaded with the same name as the old image.
The old image looked like this: https://i0.wp.com/garnergrows.jettesetliving.com/wp-content/uploads/recipes_guacamole3.jpg
The new image SHOULD look like this: https://i0.wp.com/garnergrows.jettesetliving.com/wp-content/uploads/recipes_guacamole2.jpg
When I view these 3 images in FTP, recipes_guacamole.jpg and recipes_guacamole2.jpg have matching file size (126.6kb), and recipes_guacamole3.jpg does not (55.5kb). But when I view the images in any browser or device, recipes_guacamole.jpg visually matches recipes_guacamole3.jpg instead.
Am I just nuts? What is going on here?
I am running WordPress 5.9.2
Your help will be much appreciated!
The page I need help with: [log in to see the link]
- The topic ‘Images uploaded with same name as previously deleted images not updating’ is closed to new replies.