Plugin Support
Adrian
(@adrianrus)
Hello @persist9 ,
Thank you for your message and for using our plugin! 🙂
I’ll explain the difference below:
Just replace the file
The new file takes over the old file’s name, so the image URL stays exactly the same. Every page that uses that image picks up the new version automatically, because nothing about the link has changed. The only requirement is that the new file must be the same file type as the old one (e.g. replacing a JPG with a JPG).
Replace the file, use the new file name, and update all links
The new file keeps its own filename, which means the image URL changes. Because that would break every existing reference, the plugin then searches your database and rewrites the old URL to the new one in your posts, pages, and custom fields.
You’d only need the second option if:
- You’re replacing an image with a different file type (e.g. a JPG with a PNG), or
- You specifically want the new filename to be used (for example, a more descriptive name for SEO).
One tip either way: if you don’t see the new image right away, it’s usually just caching. Clear your caching plugin and CDN cache (and try a hard refresh in your browser with Ctrl+F5 / Cmd+Shift+R), and the new version will show up.
Hope that helps, let us know if anything’s unclear!
All the best,