Image Scaling in Perspective

Hi All,

This may be a naive question, but is there a way to scale images in Perspective? Changing the height/width of the image just crops it rather than scaling it. I couldn’t find the custom property in the manual that would let me do this but I suspect there is one somewhere. I tried this in both coordinate and flex containers and had the same behavior.

Thanks in advance!

This is using an Image component, correct? Have you tried altering the Image component’s mode property (props.fit.mode)? One of the options there, likely fit or contain, should give you the behavior you’re looking for (and don’t worry, it’s easy to miss this info on the manual page, seeing as you have to notice and click on the “Click to see fit properties” to see the subitems :slight_smile: )

2 Likes

Thanks! I think this is what I’m looking for!