OFFLINE-GmbH / oc-responsive-images-plugin

Adds reponsive images capabilities to October CMS
MIT License
45 stars 26 forks source link

Old images still showing after being replaced #101

Open dthrcrpz opened 1 year ago

dthrcrpz commented 1 year ago

I'm encountering an issue where an image was initially uploaded to the media library, and later it was replaced with another image of the same name. I have attempted running php artisan responsive-images:clear and php artisan cache:clear, but the old image still persists.

Clearly, renaming the images individually would resolve the problem, but since we have a large number of replaced images, we prefer to avoid renaming them one by one.

tobias-kuendig commented 1 year ago

You can safely delete everything in the storage/temp/public/ folder (or storage/temp/resize/ depending on your use-case) and the images should be re-generated.

Since the image has the same name, October does not notice that it is a new image.

PubliAlex commented 1 year ago

You can also use the clear cache widget available in the dashboard that allow to clean theses paths