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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

Cleanup unused images

admin first-time

Solved by pamtbaau View solution

Started by Serge L 2 years ago · 1 replies · 193 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 Thomas, 1 week ago
2 53 9 hours ago
Support · by Anna, 3 days ago
2 59 12 hours ago
Support · by Justin Young, 13 hours ago
1 30 13 hours ago
Support · by Duc , 1 week ago
2 65 5 days ago
Support · by Colin Hume, 1 week ago
2 56 5 days ago