Open travisbotello opened 4 years ago
Thats an issue of the phpthumb connector and maybe can't be solved inside of Image+. I will look for this.
Interesting...thanks for the update!
Could you try to attach a random url parameter, to look wether this forces a reload of the thumbnail (then it is a browser caching issue)? If not, this can't be solved in Image+ and (maybe) not with the default phpthumb connector.
Just tried that. Attaching &v=1
to the filename refreshes the thumbnail correctly.
<img src="/connectors/system/phpthumb.php?wctx=mgr&w=400&source=2&src=categories%2F40x40.png&v=1&sw=640&sh=425&sx=0&sy=0" id="ext-comp-1035">
Then it is maybe just a browser caching issue. This could be solved by Image+ and other extras with a parameter hash including the file date/size.
That makes sense. Currently I set filesluggy to automatically add unique hash to any uploaded file which is basically having the same effect.
But then you maybe have a lot of duplicated files.
True, that is not ideal. But currently my clients prefer that options so they don't have any issues with caching when replacing images with the same file name...
When replacing an existing Image+ image file with a new image using the same file name the phpthumb in the backend is not showing the new image.
How to reproduce
Problem seems to be in the used image src:
/connectors/system/phpthumb.php?wctx=mgr&w=400&source=2&src=categories%2Fhome-600x510px.png&sw=600&sh=510&sx=0&sy=0