Images for Automation Commands (Fast Pay Buttons)

It may prove useful for IMG to allow for setting the width and/or height so that all buttons receive consistent image sizes. Basically it would scale the image to fit within the bounds set by the IMG tag.

Something like this: <img [width],[height]>

If a value is specified as 0, no scaling takes place, so we can set width/height independantly, and use one or the other dimension exclusively. For example, this would only restrict the height to 100, without keeping perspective (the image may get squished or stretched):

<img 0,100>image.png</img>

And if we want to keep perspective (so it doesn’t look “squished” or “stretched”), we use -1 instead of 0 to indicate this:

<img -1,100>image.png</img>
1 Like