# Restrict dimensions of Image Upload

**URL:** <https://forum.bubble.io/t/restrict-dimensions-of-image-upload/82738>\
**Category:** Need help\
**Created:** [March 21, 2020, 11:50am UTC](https://forum.bubble.io/t/restrict-dimensions-of-image-upload/82738 "2020-03-21T11:50:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanjuujosephh](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/sanjuujosephh/32/55131_2.png) [@sanjuujosephh](https://forum.bubble.io/u/sanjuujosephh)\
**Post date:** [March 21, 2020, 11:50am UTC](https://forum.bubble.io/t/restrict-dimensions-of-image-upload/82738/1 "2020-03-21T11:50:47Z")

</div>

I want to restrict users to uploading only a square image. How can I achieve this?

---

<div class="post-metadata">

**Author:** ![bartek.dev](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/bartek.dev/32/50610_2.png) [@bartek.dev](https://forum.bubble.io/u/bartek.dev)\
**Post date:** [March 21, 2020, 12:53pm UTC](https://forum.bubble.io/t/restrict-dimensions-of-image-upload/82738/2 "2020-03-21T12:53:09Z")

</div>

Pick group element and set background as “image” then pick the image + check “crop the image to fit element size”

---

<div class="post-metadata">

**Author:** ![sanjuujosephh](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/sanjuujosephh/32/55131_2.png) [@sanjuujosephh](https://forum.bubble.io/u/sanjuujosephh)\
**Post date:** [March 21, 2020, 2:31pm UTC](https://forum.bubble.io/t/restrict-dimensions-of-image-upload/82738/3 "2020-03-21T14:31:34Z")

</div>

It’s a profile pic upload option. I want the profile image that user uploads to be restricted to a square image dimension only. Can I do something like that? or probably give them an option to crop into square?

---

<div class="post-metadata">

**Author:** ![bartek.dev](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/bartek.dev/32/50610_2.png) [@bartek.dev](https://forum.bubble.io/u/bartek.dev)\
**Post date:** [March 21, 2020, 2:47pm UTC](https://forum.bubble.io/t/restrict-dimensions-of-image-upload/82738/4 "2020-03-21T14:47:38Z")

</div>

There are plugins for to let the user crop the pic.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [May 30, 2020, 11:50am UTC](https://forum.bubble.io/t/restrict-dimensions-of-image-upload/82738/5 "2020-05-30T11:50:52Z")

</div>

Closed on May 30, 2020, 11:50am UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
