© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
10 replies
drewneon

Delete avatar image file from local storage

In order to activate user avatars, I followed the instructions on this page https://github.com/jeffgreco13/filament-breezy. It works pretty good, except that the previously uploaded avatar image files remain undeleted after the user deletes or changes the avatar.

How to automatically delete the outdated avatar image file from the local storage when a user updates his avatar or a user account is removed by the super admin?
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

On record delete, delete file from storage
FilamentFFilament / ❓┊help
3y ago
Fileupload delete image on filesystem (avatar)
FilamentFFilament / ❓┊help
11mo ago
how simple way to, to delete file/image storage
FilamentFFilament / ❓┊help
3y ago
Local Storage and Production storages differ
FilamentFFilament / ❓┊help
2y ago