I've worked with a pixel artist and a vector artist to reimagine the original phpBB smilies, as a drop-in enhancement via srcset="icon_arrow.webp 2x" attributes and I'd be happy to contribute them to the phpBB project if you want them:
https://github.com/rednoah/phpBB-smilies
phpBB does not currently support responsive images but I was able to add the srcset attributes to make 2x images work via jQuery code at the end of my overall_footer.html theme template file without modifying core phpBB code:
https://github.com/rednoah/Absolution/b ... .html#L133
Code: Select all
<script type="text/javascript">
// use high resolution smilies
$("img.smilies, #smiley-box img").each(function(i) {
$(this).attr("srcset", $(this).attr("src").replace("./images/smilies/", "{T_THEME_PATH}/smilies/2x/").replace(".gif", ".png") + " 2x");
});
</script>
I am currently using pre-scaled 2x images based on the SVG vector graphics in my own forums because SVG rendering at lower resolutions in Google Chrome is somewhat ugly. I've got a demo page here for comparison, ideally viewed with a 200% display scale factor to see the difference:
https://www.filebot.net/forums/styles/A ... e/smilies/