# Image Scaling in Perspective

**URL:** <https://forum.inductiveautomation.com/t/image-scaling-in-perspective/32507>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [February 21, 2020, 6:01pm UTC](https://forum.inductiveautomation.com/t/image-scaling-in-perspective/32507 "2020-02-21T18:01:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![paul.mangels](https://avatars.discourse-cdn.com/v4/letter/p/a698b9/32.png) [@paul.mangels](https://forum.inductiveautomation.com/u/paul.mangels)\
**Post date:** [February 21, 2020, 6:01pm UTC](https://forum.inductiveautomation.com/t/image-scaling-in-perspective/32507/1 "2020-02-21T18:01:41Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![kirsten.chambers](https://avatars.discourse-cdn.com/v4/letter/k/48db29/32.png) [@kirsten.chambers](https://forum.inductiveautomation.com/u/kirsten.chambers)\
**Post date:** [February 21, 2020, 6:16pm UTC](https://forum.inductiveautomation.com/t/image-scaling-in-perspective/32507/2 "2020-02-21T18:16:03Z")

</div>

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 🙂 )

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/0/08f930067fd6789758611d372c42ba5104a0037d.png)

---

<div class="post-metadata">

**Author:** ![paul.mangels](https://avatars.discourse-cdn.com/v4/letter/p/a698b9/32.png) [@paul.mangels](https://forum.inductiveautomation.com/u/paul.mangels)\
**Post date:** [February 25, 2020, 1:49pm UTC](https://forum.inductiveautomation.com/t/image-scaling-in-perspective/32507/3 "2020-02-25T13:49:32Z")

</div>

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