# User presented with Upload Avatar option when no file ext whitelisted

**URL:** <https://meta.discourse.org/t/user-presented-with-upload-avatar-option-when-no-file-ext-whitelisted/27276>\
**Category:** Bug\
**Created:** [4월 6, 2015, 10:34오후 UTC](https://meta.discourse.org/t/user-presented-with-upload-avatar-option-when-no-file-ext-whitelisted/27276 "2015-04-06T22:34:53Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [4월 7, 2015, 5:17오전 UTC](https://meta.discourse.org/t/user-presented-with-upload-avatar-option-when-no-file-ext-whitelisted/27276/4 "2015-04-07T05:17:34Z")

</div>

Seems like kind of a user hostile set of decisions to me, because images and screenshots are so fundamental to modern discussion… much less support.

But I suppose you are right, if all image upload file types are disabled then custom avatar should not be presented to the user as an option in the UI. Can you add that to your list @zogstrip? More of a fail safe check, if none of the common image formats are allowed, don’t allow the user to select custom avatar.

Not sure what happens when gravatar is disabled and all image file types are removed too, but I guess that is a “hey doctor it hurts when I do this” scenario…

---

_[View the full topic](https://meta.discourse.org/t/user-presented-with-upload-avatar-option-when-no-file-ext-whitelisted/27276)._
