Cleanup unused images

Is there a quick way to clean up the images that are no longer linked to any pages that are sitting in the /images folder? I am only using 4 images and I have about 15 folders with one or two subfolders, each of which also has a subfolder containing one image each.

@slappcoding, I presume you are talking about the /images folder in the root of Grav and not an /images folder anywhere inside the /user/ folder?

These image files are generated by Grav for caching and improves the speed of Grav.

You can remove these images by clearing the cache, but the ones used by pages will be re-generated again.

By the way, who cares about disk space these days anyway…

1 Like