Lack of interest Add Emoji CDN "Extension" option instead of hard-coding .png

This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.

Kevin

Well-known member
The current version of XF allows us to specify our own CDN location source for emoji images, which is great šŸ‘, but unfortunately the extension used for the image files is hard-coded to be ".png" (resulting in {codepoint}.png).

For those of us playing with SVG images, or for those who might want to use GIF or JPG, it'd be great if there was a companion "emojiSourceExtension" choice along with the existing "emojiSource" option in the ACP. It's easy enough to use SVGs for XF Smilies images and XF Reactions images but not the emoji images.

At the moment, without much ā˜• this week, it looks like it'd be just a matter of touching the "getImageFromShortname" function in EmojiFormatter.php to swap the .png extension to something else.
 
Upvote 1
This suggestion has been closed. Votes are no longer accepted.
Back
Top Bottom