As designed No easy way to control width/height of reactions that are not in a sprite sheet

Jake B.

Well-known member
Affected version
2.1.0 Beta 6
If you create a reaction that uses an image that isn't part of a sprite sheet it'll render as whatever size that image is with no way to control the width/height without using CSS manually.
 
This is generally expected and consistent with similar systems, such as smilies.

In fact, I believe at some point they were constrained to specific dimensions, but this wasn't desirable in cases where you might want smaller/larger reaction images, or reactions with different aspect ratios etc.

The way to control the width and the height of the image is to upload an image of the correct size, which is the same as smilies. We're not planning on writing out custom CSS for image reactions (or smilies).
 
but this wasn't desirable in cases where you might want smaller/larger reaction images, or reactions with different aspect ratios etc.

You could define a max-width per reaction if that were the case, it'd solve different sized reactions (not sure why someone would want to do this since it'd just be inconsistent) as well as non square images

The way to control the width and the height of the image is to upload an image of the correct size, which is the same as smilies.

Then you lose the ability to specify a 2x image for retina devices, or what if you use an SVG?
 
Top Bottom