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?

1개의 좋아요

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

1개의 좋아요

Isn’t that what happens already?

3개의 좋아요

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:

3개의 좋아요