# איך אני מוחק את קובץ אווטאר המשתמש?

**URL:** <https://meta.discourse.org/t/how-do-i-delete-the-file-of-user-avatar/185321>\
**Category:** Product Support\
**Created:** [3 באפריל,‏ 2021,‏ 4:00am UTC](https://meta.discourse.org/t/how-do-i-delete-the-file-of-user-avatar/185321 "2021-04-03T04:00:26Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)\
**Post date:** [7 באפריל,‏ 2021,‏ 6:01am UTC](https://meta.discourse.org/t/how-do-i-delete-the-file-of-user-avatar/185321/6 "2021-04-07T06:01:35Z")

</div>

To prevent users from uploading future avatars, you can disable `allow uploaded avatars` and enable the `selectable avatars` site setting with a large selection.

> [@snakeninny](#):
>
> I have replaced these user avatars with the default letter ones, but nothing seems to be happening to the old user avatars after 72 hours, maybe it’s because user avatars are not considered uploaded images?

I think you may need to _upload a replacement placeholder_ in order for automatic deletion - the user record is still keeping the uploaded avatar image alive even though it’s not in use.

* * *

Upload files are named based on the SHA1 of the image content - that may help you to find the backing file?

---

_[View the full topic](https://meta.discourse.org/t/how-do-i-delete-the-file-of-user-avatar/185321)._
