I've noticed the UI Image will crop the image to make it fit within parameters. Is there any way it can scale the image?
Thanks, Maria Heij. I have experimented and here's what I've come to understand. Please correct me if I'm wrong.
I've set the width to 100% and the height to XXpx
If this is larger than the native size of the image it will scale to fit the width and the height will be cropped if needed.
If a user resizes the browser until width and height match the native size of the image the image will be displayed.
If the user resizes smaller than native size the image will be cropped in both width and height.
This seems consistent with your examples above.
Yes, that sounds about right! I hope you can figure out a setup that will work for you.
Best Regards, Maria Heij
Hi there Bill
I apologise for the late reply here. UI Image can be used with either pixel values or percent values and with percent, it depends on where the image is contained. You could perhaps also edit your picture to make it work? The documentation gives you some idea: https://docs.refinedwiki.com/x/CgbXAQ
Or, something like this:
Let me know if this answers your questions or not.
Powered by Atlassian Confluence 6.1.0, themed by RefinedTheme 5.1.15