# How to match image resolution to different screen resolutions?

**URL:** <https://discourse.psychopy.org/t/how-to-match-image-resolution-to-different-screen-resolutions/37703>\
**Category:** Builder\
**Created:** [November 25, 2023, 10:15am UTC](https://discourse.psychopy.org/t/how-to-match-image-resolution-to-different-screen-resolutions/37703 "2023-11-25T10:15:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![YardenRubin](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/yardenrubin/32/38947_2.png) [@YardenRubin](https://discourse.psychopy.org/u/YardenRubin)\
**Post date:** [November 25, 2023, 10:15am UTC](https://discourse.psychopy.org/t/how-to-match-image-resolution-to-different-screen-resolutions/37703/1 "2023-11-25T10:15:58Z")

</div>

**PsychoPy version** (e.g. 1.84.x): 2023 .2.3  
**What are you trying to achieve?:** I want to run my experiment on couple of different laptops and the Images I’m using are out of the screen resolution ratioס

**What did you try to make it work?:** I know I can change each image resolution to the screen resolution in order to match the resolution. the problem is, I guess, that I will need to reposition each component which I build on the images in the original experiment because the size of the images resolution changed. in addition, it will take a long time. I’m looking for smarter and shorter way.

thanks!

---

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [November 26, 2023, 1:15am UTC](https://discourse.psychopy.org/t/how-to-match-image-resolution-to-different-screen-resolutions/37703/2 "2023-11-26T01:15:27Z")

</div>

Are you using norm or pixel units? Height units tend to work better across different screens.

---

<div class="post-metadata">

**Author:** ![YardenRubin](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/yardenrubin/32/38947_2.png) [@YardenRubin](https://discourse.psychopy.org/u/YardenRubin)\
**Post date:** [November 28, 2023, 7:46am UTC](https://discourse.psychopy.org/t/how-to-match-image-resolution-to-different-screen-resolutions/37703/3 "2023-11-28T07:46:33Z")

</div>

Pixel units

---

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [November 28, 2023, 8:00am UTC](https://discourse.psychopy.org/t/how-to-match-image-resolution-to-different-screen-resolutions/37703/4 "2023-11-28T08:00:46Z")

</div>

Try height. The y coordinate goes from -.5 to.5
