-
-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thumbnail cache is not cleared when replacing image with the same filename #87
Comments
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
|
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
=> preview area is still showing the first image
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
The text was updated successfully, but these errors were encountered: