# How Discourse handles avatars on retina displays?

**URL:** <https://meta.discourse.org/t/how-discourse-handles-avatars-on-retina-displays/84341>\
**Category:** UX\
**Created:** [April 1, 2018, 8:04pm UTC](https://meta.discourse.org/t/how-discourse-handles-avatars-on-retina-displays/84341 "2018-04-01T20:04:08Z")\
**Posts on this page:** 4\
**Page:** 1

## AI-generated summary

[BlackKnob](/t/-/84341/1) inquires about Discourse's handling of user card avatars on retina displays, noting the default size is 120px. They ask if uploading a 240px image triggers a higher-resolution version for retina screens and seek recommendations for icon sizes. [codinghorror](/t/-/84341/2) suggests searching for discussions regarding `srcset` support. [omarfilip](/t/-/84341/3) quotes BlackKnob and asks if this behavior already occurs, providing screenshots to illustrate the point. [BlackKnob](/t/-/84341/4) clarifies they are using an iPhone, not a Mac, and asks for confirmation that avatars should be uploaded at 240x240px under default settings, suggesting this information should be more explicit to users before uploading.

<div class="post-metadata">

**Author:** ![BlackKnob](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blackknob/32/93549_2.png) [@BlackKnob](https://meta.discourse.org/u/BlackKnob)\
**Post date:** [April 1, 2018, 8:04pm UTC](https://meta.discourse.org/t/how-discourse-handles-avatars-on-retina-displays/84341/1 "2018-04-01T20:04:08Z")

</div>

It looks, like the default for the user card avatar is 120px. Is different size used for retina displays?

If I upload at 240px instead of 120px, would a 240px version be used for retina?  
Is there a “native” or recommended size for Discourse icons?

---

<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:** [April 2, 2018, 1:24am UTC](https://meta.discourse.org/t/how-discourse-handles-avatars-on-retina-displays/84341/2 "2018-04-02T01:24:41Z")

</div>

There was some discussion of eventually using proper srcset support in other topics; you might try searching for that.

---

<div class="post-metadata">

**Author:** ![omarfilip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/omarfilip/32/208019_2.png) [@omarfilip](https://meta.discourse.org/u/omarfilip)\
**Post date:** [April 2, 2018, 1:29am UTC](https://meta.discourse.org/t/how-discourse-handles-avatars-on-retina-displays/84341/3 "2018-04-02T01:29:26Z")

</div>

> [@BlackKnob](#):
>
> If I upload at 240px instead of 120px, would a 240px version be used for retina?

Isn’t that what happens already?

 ![57%20PM](https://global.discourse-cdn.com/meta/original/3X/d/5/d5031dd7228e7ca16e360348e09a84b0c19c43fe.png)

 ![51%20PM](https://global.discourse-cdn.com/meta/original/3X/f/a/fa3718949eba172fc6d8873d682cdcd6021ddac0.png)

---

<div class="post-metadata">

**Author:** ![BlackKnob](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blackknob/32/93549_2.png) [@BlackKnob](https://meta.discourse.org/u/BlackKnob)\
**Post date:** [April 2, 2018, 4:43am UTC](https://meta.discourse.org/t/how-discourse-handles-avatars-on-retina-displays/84341/4 "2018-04-02T04:43:27Z")

</div>

I don’t have a retina Mac, just an iPhone.  
So this means, that all avatars should be uploaded at 240x240px (with default Discourse settings), correct?

It would be great to be given this information before uploading. Something like this:

 ![42%20PM](https://global.discourse-cdn.com/meta/original/3X/e/2/e24ee248c07efcd8c76c1a9db8525004c21645db.jpg)
