# Way to get monitor information like size when running exp online?

**URL:** <https://discourse.psychopy.org/t/way-to-get-monitor-information-like-size-when-running-exp-online/12875>\
**Category:** Online experiments\
**Created:** [April 29, 2020, 6:10pm UTC](https://discourse.psychopy.org/t/way-to-get-monitor-information-like-size-when-running-exp-online/12875 "2020-04-29T18:10:10Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [April 30, 2020, 12:02pm UTC](https://discourse.psychopy.org/t/way-to-get-monitor-information-like-size-when-running-exp-online/12875/3 "2020-04-30T12:02:14Z")

</div>

I assume that psychoJS.window.size returns the resolution in pixels. Is that what you wanted? If not then you probably need to write a “resize a rectangle so it’s the same size as a credit card” technique described elsewhere:

> [@Consistent image size across screens](https://discourse.psychopy.org/t/consistent-image-size-across-screens/12517/4):
>
> It is actually possible to ask participants for the screen dimensions. The standard procedure is to ask them to resize a rectangle on the screen until it is the same size as an object we know the dimensions of (eg. credit card). jsPsych has a built-in plugin for this: [https://www.jspsych.org/plugins/jspsych-resize/](https://www.jspsych.org/plugins/jspsych-resize/) Psychopy could implement a helper method that does the same

---

_[View the full topic](https://discourse.psychopy.org/t/way-to-get-monitor-information-like-size-when-running-exp-online/12875)._
