# Option to auto resize / compress image on Image Picker

**URL:** <https://community.glideapps.com/t/option-to-auto-resize-compress-image-on-image-picker/3528>\
**Category:** Feature Requests\
**Created:** [January 11, 2020, 11:52pm UTC](https://community.glideapps.com/t/option-to-auto-resize-compress-image-on-image-picker/3528 "2020-01-11T23:52:46Z")\
**Posts on this page:** 13\
**Page:** 2

<div class="post-metadata">

**Author:** ![Krivo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/krivo/32/5363_2.png) [@Krivo](https://community.glideapps.com/u/Krivo)\
**Post date:** [August 23, 2020, 4:00pm UTC](https://community.glideapps.com/t/option-to-auto-resize-compress-image-on-image-picker/3528/21 "2020-08-23T16:00:31Z")

</div>

Of course the images can compressed that much that they will get pixelated on desktop - but that all depends on the manipulation you do on upload 🙂

In the demo app I’m doing the following transformation (done in the upload preset):

> a\_exif,c\_limit,e\_blur\_faces:500,h\_1800,q\_auto,w\_1000

I’m restricting the size to maximum 1800 pixels in height and 1000 pixel in width (the parameter c\_limit, h\_, w\_ does this). The quality is set to auto.  
a\_exif (a=angle) rotates the images according to the exif information  
And then I also blur the faces of the people of the images - working semi-ok.

---

<div class="post-metadata">

**Author:** ![Deena](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/deena/32/9877_2.png) [@Deena](https://community.glideapps.com/u/Deena)\
**Post date:** [August 23, 2020, 4:02pm UTC](https://community.glideapps.com/t/option-to-auto-resize-compress-image-on-image-picker/3528/22 "2020-08-23T16:02:37Z")

</div>

Given that my users are on desktop, I think I will deal with the high storage over time rather than risk pixelation. Right now things look great even on my 32" widescreen monitor! Might still use cloudinary for the storage. Will check it out. Thank you again!

---

<div class="post-metadata">

**Author:** ![Krivo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/krivo/32/5363_2.png) [@Krivo](https://community.glideapps.com/u/Krivo)\
**Post date:** [August 23, 2020, 4:09pm UTC](https://community.glideapps.com/t/option-to-auto-resize-compress-image-on-image-picker/3528/23 "2020-08-23T16:09:59Z")

</div>

@deena try out a few images where you change the upload parameters - so you know what you will accept qualitywise.

---

<div class="post-metadata">

**Author:** ![Nik\_Kafka](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nik_kafka/32/10597_2.png) [@Nik\_Kafka](https://community.glideapps.com/u/Nik_Kafka)\
**Post date:** [August 27, 2020, 4:51pm UTC](https://community.glideapps.com/t/option-to-auto-resize-compress-image-on-image-picker/3528/24 "2020-08-27T16:51:03Z")

</div>

This would be a really useful feature. I know we’re going to run into storage space and connection issues if user generated photos can’t be compressed before upload. Please nice Glide folk, make it happen! 🙂

---

<div class="post-metadata">

**Author:** ![MaxB](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maxb/32/15623_2.png) [@MaxB](https://community.glideapps.com/u/MaxB)\
**Post date:** [November 18, 2020, 1:54pm UTC](https://community.glideapps.com/t/option-to-auto-resize-compress-image-on-image-picker/3528/25 "2020-11-18T13:54:18Z")

</div>

There is no compression.

WHat he means is that the system loads  
“the right picture for the right user system” but they still occupy a lot of space in the storage

---

<div class="post-metadata">

**Author:** ![Mark\_Turrell](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mark_turrell/32/26605_2.png) [@Mark\_Turrell](https://community.glideapps.com/u/Mark_Turrell)\
**Post date:** [May 30, 2021, 5:33pm UTC](https://community.glideapps.com/t/option-to-auto-resize-compress-image-on-image-picker/3528/26 "2021-05-30T17:33:18Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/0/50ac232aa62eb3755c9dfd33fed5735f17d8878e.jpeg)

I know this has likely been forgotten - almost 4mb for a cropped photo taken on an iPhone 12……

It’s really wasteful and potentially a very slow experience to not have a choice in upload size (or give us the option to define how big we take the images in). I have a pro app too, so I’m not overly bothered…. It just feels wrong for people on low bandwidth or pay as you go mobiles.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [May 30, 2021, 6:12pm UTC](https://community.glideapps.com/t/option-to-auto-resize-compress-image-on-image-picker/3528/27 "2021-05-30T18:12:57Z")

</div>

That looks quite tasty! 😋

---

<div class="post-metadata">

**Author:** ![Mark\_Turrell](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mark_turrell/32/26605_2.png) [@Mark\_Turrell](https://community.glideapps.com/u/Mark_Turrell)\
**Post date:** [May 30, 2021, 6:28pm UTC](https://community.glideapps.com/t/option-to-auto-resize-compress-image-on-image-picker/3528/28 "2021-05-30T18:28:02Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/c/5cbd146265063fd2e6d99d56800322ca5f01ec69.jpeg)

Full size - my first restaurant meal in 6 months

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [May 30, 2021, 10:59pm UTC](https://community.glideapps.com/t/option-to-auto-resize-compress-image-on-image-picker/3528/29 "2021-05-30T22:59:03Z")

</div>

Not sure if it helps but on iPhone, I have options of image size when I upload.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/7/a7af0127c371bf736570b1e7d73fdf089fc322a2.jpeg)

---

<div class="post-metadata">

**Author:** ![Mark\_Turrell](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mark_turrell/32/26605_2.png) [@Mark\_Turrell](https://community.glideapps.com/u/Mark_Turrell)\
**Post date:** [May 31, 2021, 5:35am UTC](https://community.glideapps.com/t/option-to-auto-resize-compress-image-on-image-picker/3528/30 "2021-05-31T05:35:38Z")

</div>

I had no idea! I’ve learned a thing 🙂 thanks!

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/0/90161ecab052a4e6728a536322b4921cbcc46fba.jpeg)

---

<div class="post-metadata">

**Author:** ![Krivo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/krivo/32/5363_2.png) [@Krivo](https://community.glideapps.com/u/Krivo)\
**Post date:** [May 31, 2021, 5:37am UTC](https://community.glideapps.com/t/option-to-auto-resize-compress-image-on-image-picker/3528/31 "2021-05-31T05:37:04Z")

</div>

Well - only available when uploading from photo roll not when taking photo.

---

<div class="post-metadata">

**Author:** ![Mark\_Turrell](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mark_turrell/32/26605_2.png) [@Mark\_Turrell](https://community.glideapps.com/u/Mark_Turrell)\
**Post date:** [May 31, 2021, 5:39am UTC](https://community.glideapps.com/t/option-to-auto-resize-compress-image-on-image-picker/3528/32 "2021-05-31T05:39:45Z")

</div>

Ah, good point 🙂 in my telemedicine app, I force ‘use camera’ (at least for mobile & tablet users).

That does remind me, @Mark, about why I had a request to know the user’s device. If the user is on a desktop they always have to download, which means I need extra checks on timestamps.

---

<div class="post-metadata">

**Author:** ![Alex\_x](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alex_x/32/40495_2.png) [@Alex\_x](https://community.glideapps.com/u/Alex_x)\
**Post date:** [September 2, 2022, 10:24pm UTC](https://community.glideapps.com/t/option-to-auto-resize-compress-image-on-image-picker/3528/33 "2022-09-02T22:24:37Z")

</div>

A Min / Max option would definitely be useful.

Having to resize images through API is quite annoying.

[Previous page](https://community.glideapps.com/t/option-to-auto-resize-compress-image-on-image-picker/3528.md?page=1)
