When we add a an image to a label then the image is shown in the label.
When we then delete the image using the atto-editor the imagefile is still remaining on the filesystem and the file is marked as unused.
We want to implement a report for a trainer that shows all such files that are not used (in label, page, ...). There also exists several ideas how to deal with this files.
1. The block activity could be expanded to show the number of unused files in each activity (first version should only support label)
2. We can create a new block that shows this information.
3. We can first only support a function for admin-users with expanding the plugin "couresize" https://moodle.org/plugins/report_coursesize with the information about unused files.
Maybe ther already exists a plugin that we can use to start or maybe someone has soome hints to this project and can help?