Hello! I recently started using Grav for my personal website and I love it so far, with the exception of one really irritating issue: I have multiple image gallery pages, some with over 100 images, using cropZoom to make thumbnails. Every time I update Grav or otherwise have to clear the cache, all of those thumbnails are wiped along with it, which means next time those pages are loaded it takes a really long time cropping all the images again.
Apologies if this is a bit of a dumb question, but is there any way I can set up Grav to put the thumbnail images in a folder that won’t get wiped after every update? Or set it to not touch the images folder at all?
@Nicede, When performing a search on either Google or here on Discourse using ‘grav clear cache images’ you’ll find the following existing post Images deleted after Clear Cache.
clear_images_by_default: By default grav will include processed images when cache clears, this can be disabled by setting this to false
What setting is your installation using?
Note, the default behaviour has been changed from true to false in release 1.7.16. The docs however, have not been updated yet… I’ve created a PR to fix this.
@Nicede, There is IMHO no difference between upgrading from Admin or the command prompt. Both use ‘/system/src/Grav/Common/GPM/Installer.php::install()’
So, if you do create an issue, I would use the Grav repo as mentioned above.