Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Cleanup unused images

admin first-time

Solved by pamtbaau View solution

Started by Serge L 3 years ago · 1 replies · 652 views
3 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.

3 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 TomW, 2 weeks ago
8 227 8 hours ago
Support · by alex, 2 months ago
8 667 23 hours ago
Support · by Supple, 5 days ago
1 98 1 day ago
Support · by TomW, 1 week ago
3 159 3 days ago
Support · by TomW, 6 days ago
2 106 5 days ago