Letter avatars change to html elements (Idea for performance)


(Fer Nando) #1

It´s posible, for future updates, change all letter avatars to an html element with css for improve load performance with minor request? Sorry for my english, i´m not native speaker.

This is a nice example:

https://codediode.io/lessons/198632-default-avatars-with-username-initials


(Sam Saffron) #2

This was discussed a lot in the past. There is no way to get a clean and consistent letter avatar using HTML and CSS, browsers have quirks and it will not be consistent across all browsers.


(Michael - DiscourseHosting.com) #3

Devil’s advocate here: why should they be pixel-perfect consistent across browsers?


(cpradio) #4

Because even as images, when they weren’t, there were floods of topics about it not being pixel perfect…


(Fer Nando) #5

For my the big problem is the browsers :frowning:

Im sorry, i dont search this topic first if you discussed in the past, only small search.


(Jeff Atwood) #6

SVG is a possibility but email clients tend to barf hard on SVG. There is a reason we made it the way we did and a ton of research went into it. Feel free to search.