Discourse 如何在视网膜显示屏上处理头像?

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:

42%20PM

3 个赞