Square Emoji site setting does not work as expected

Hi,

Our goal is to upload non squared Emoji (more like tiny reaction gifs) so we disabled the enforce square emoji setting. The images are not resized on upload but are still squares when including them in posts because of the CSS rule. Is that the expected behaviour?

When the setting is enabled, the behaviour is exactly the same: the image is not resized on upload but with the CSS.

So, what is the purpose of this setting?

Thanks!

To not square them at upload. To fix the CSS you will need to apply your own CSS rule overriding the existing one in the Admin > Customize section.

3 Likes

This is one oddball setting. I am on the fence on even keeping it cause it requires a fair amount of hacking to “make it work” for your definition of work.

@zogstrip thoughts?

2 Likes

I remember doing that setting for people migrating from other forum engine with weird “gifs” used as emojis.

64

But it seems it broke and only @gkln noticed. So I guess it’s fine to :fire: it and only use CSS to force a square ratio on the custom emojis.

5 Likes

This site setting did not have any effect and was removed.

https://github.com/discourse/discourse/pull/6398

5 Likes