Skip to content
Grav 2.0 is officially stable. Read the announcement →
Support

Cleanup unused images

admin first-time

Solved by pamtbaau View solution

Started by Serge L 2 years ago · 1 replies · 260 views
2 years ago

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.

2 years ago Solution

@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

Suggested topics

Topic Participants Replies Views Activity
Support · by BenLaKnet, 5 days ago
1 123 2 days ago
Support · by BenLaKnet, 1 week ago
5 195 2 days ago
Support · by kskt, 3 days ago
0 45 3 days ago
Support · by David Meissner, 3 days ago
0 44 3 days ago
Support · by David Meissner, 4 days ago
3 92 3 days ago