# How to set camera ratio to square for taking photos

**URL:** <https://community.thunkable.com/t/how-to-set-camera-ratio-to-square-for-taking-photos/2732313>\
**Category:** Questions about Thunkable X\
**Tags:** camera, beginner, help\
**Created:** [November 30, 2023, 5:52pm UTC](https://community.thunkable.com/t/how-to-set-camera-ratio-to-square-for-taking-photos/2732313 "2023-11-30T17:52:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![meko137](https://avatars.discourse-cdn.com/v4/letter/m/49beb7/32.png) [@meko137](https://community.thunkable.com/u/meko137)\
**Post date:** [November 30, 2023, 5:52pm UTC](https://community.thunkable.com/t/how-to-set-camera-ratio-to-square-for-taking-photos/2732313/1 "2023-11-30T17:52:07Z")

</div>

Hello,

I was just wondering how to set the camera so that when you want to take a picture, it only appears in a square ratio. So not after the photo has been taken but while the camera is active. Or is it possible to program it so that the shot photo has to be placed in a square window and then automatically crops itself (like posts on Instagram)?

Best regards

---

<div class="post-metadata">

**Author:** ![matt\_conroy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/matt_conroy/32/150843_2.png) [@matt\_conroy](https://community.thunkable.com/u/matt_conroy)\
**Post date:** [November 30, 2023, 6:05pm UTC](https://community.thunkable.com/t/how-to-set-camera-ratio-to-square-for-taking-photos/2732313/2 "2023-11-30T18:05:30Z")

</div>

Hi @meko137, thanks for reaching out about this.

There would not be a way in Thunkable to have your OS native camera size set to square but you can create a square image component and set the picture resize mode to `contain` (image is resized to fit entirely within the container while maintaining its aspect ratio or `cover` (image is resized to completely cover the container while maintaining its aspect ratio but may be cropped).

![Screenshot 2023-11-30 at 1.03.13 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/6/06f3979d4306d2c0220c75457daa387a0c478097.png)  
)

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/a/eab4deef00b12ee3c766eaddec99d9b80845e173.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [February 28, 2024, 6:06pm UTC](https://community.thunkable.com/t/how-to-set-camera-ratio-to-square-for-taking-photos/2732313/3 "2024-02-28T18:06:29Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
