Kevin
Well-known member
Setting up a new site in 2020 using the most recent version of XF that supports native emoji and when possible converting native to being inline images. What file format to go with taking into account that most users are now using modern browsers that support using SVG images in
At the moment I'm leaning towards using SVG everywhere possible to avoid having to worry about scaling at different resolutions (but still need to work out how to get the XF CDN emoji setting to be used locally with a different extension as ".png" is hard-coded). Both Google's Noto and Twitter's Twemoji projects offer SVG files so getting the full sets in SVG isn't an issue and JoyPixels offers SVG files for their "premium" licenses.
img
tags? SVG? PNG? Something else? Why?At the moment I'm leaning towards using SVG everywhere possible to avoid having to worry about scaling at different resolutions (but still need to work out how to get the XF CDN emoji setting to be used locally with a different extension as ".png" is hard-coded). Both Google's Noto and Twitter's Twemoji projects offer SVG files so getting the full sets in SVG isn't an issue and JoyPixels offers SVG files for their "premium" licenses.