How Discourse handles avatars on retina displays?


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?

(Jeff Atwood) #2

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


Isn’t that what happens already?


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: