# Square Emoji site setting does not work as expected

**URL:** https://meta.discourse.org/t/square-emoji-site-setting-does-not-work-as-expected/49429
**Category:** Bug
**Created:** [2016年八月30日 08:19 UTC](https://meta.discourse.org/t/square-emoji-site-setting-does-not-work-as-expected/49429 "2016-08-30T08:19:17Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![gkln](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gkln/32/293382_2.png) [@gkln](https://meta.discourse.org/u/gkln)
#### Post date: [2016年八月30日 08:19 UTC](https://meta.discourse.org/t/square-emoji-site-setting-does-not-work-as-expected/49429/1 "2016-08-30T08:19:17Z")

</div>

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!

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [2016年八月30日 10:16 UTC](https://meta.discourse.org/t/square-emoji-site-setting-does-not-work-as-expected/49429/2 "2016-08-30T10:16:05Z")

</div>

> [@gkln](#):
>
> So, what is the purpose of this setting?

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.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2018年八月30日 06:15 UTC](https://meta.discourse.org/t/square-emoji-site-setting-does-not-work-as-expected/49429/3 "2018-08-30T06:15:35Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2018年八月30日 08:39 UTC](https://meta.discourse.org/t/square-emoji-site-setting-does-not-work-as-expected/49429/4 "2018-08-30T08:39:08Z")

</div>

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

![64](https://global.discourse-cdn.com/meta/original/3X/f/9/f98535dffff07e34f072011086ad2de9d653258a.gif)

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

---

<div class="post-metadata">

### Author: ![nbianca](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nbianca/32/157984_2.png) [@nbianca](https://meta.discourse.org/u/nbianca)
#### Post date: [2018年九月13日 17:47 UTC](https://meta.discourse.org/t/square-emoji-site-setting-does-not-work-as-expected/49429/6 "2018-09-13T17:47:35Z")

</div>

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

[https://github.com/discourse/discourse/pull/6398](https://github.com/discourse/discourse/pull/6398)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2018年九月13日 23:27 UTC](https://meta.discourse.org/t/square-emoji-site-setting-does-not-work-as-expected/49429/7 "2018-09-13T23:27:29Z")

</div>


