# Image compression method

**URL:** https://community.glideapps.com/t/image-compression-method/42867
**Category:** Ask for Help
**Created:** [June 9, 2022, 8:26am UTC](https://community.glideapps.com/t/image-compression-method/42867 "2022-06-09T08:26:51Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![ryohey](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ryohey/32/43565_2.png) [@ryohey](https://community.glideapps.com/u/ryohey)
#### Post date: [June 9, 2022, 8:26am UTC](https://community.glideapps.com/t/image-compression-method/42867/1 "2022-06-09T08:26:51Z")

</div>

Hello.

When a user uploads images, the storage fills up quickly.  
Is there any way to include a process to compress the uploaded images?

---

<div class="post-metadata">

### Author: ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)
#### Post date: [June 9, 2022, 10:04am UTC](https://community.glideapps.com/t/image-compression-method/42867/2 "2022-06-09T10:04:22Z")

</div>

Glide compresses and resizes images for you.

If you want to have further control, you could look into [Cloudinary](https://cloudinary.com/).

Search the forum for `Cloudinary` as well.

---

<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: [June 9, 2022, 10:10am UTC](https://community.glideapps.com/t/image-compression-method/42867/3 "2022-06-09T10:10:25Z")

</div>

If you want to take the Cloudinary route, the below post from @Krivo may be helpful.

> [@Upload multiple images to Cloudinary](https://community.glideapps.com/t/upload-multiple-images-to-cloudinary/13524):
>
> Intro I thought I was going to publish my first app in the Template store but external sources like Cloudinary integration are not allowed in a template. So after hours spend you will instead see the app here. Upload multiple images to Cloudinary Try out version: URL: [https://multiupload.glideapp.io/](https://multiupload.glideapp.io/) The app is using my personal Cloudinary account - so please keep uploads in the app low - and use your own Cloudinary account if you are going to do exploration of cloudinary Backg…

---

<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: [June 9, 2022, 11:59pm UTC](https://community.glideapps.com/t/image-compression-method/42867/4 "2022-06-09T23:59:51Z")

</div>

An alternative is this one.

> **[API | reSmush.it \> the 7 Billion (and still free) Image optimization API](https://resmush.it/api)**
>
> API | reSmush.it : Image optimization API is an FREE image optimizer which provides compress your pictures (JPEG, PNG, GIF) for better web performances

You can use a Make scenario to:

- Push any newly uploaded images’ URL to Make using a webhook.

- Optimize them with Resmush.

- Get the URL and update it back to the right row in your database. If it’s Google Sheets you can do a search step and then an update step, if it’s Glide Tables and you’re on a paid plan, you can use the Glide API, providing you send the rowID over in the webhook payload (1st step).

---

<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: [June 10, 2022, 6:16am UTC](https://community.glideapps.com/t/image-compression-method/42867/5 "2022-06-10T06:16:40Z")

</div>

@ThinhDinh in the google approach - would you replace the existing image with the actual optimized image or would you just replace the url? I suppose that the service you mentioned will not keep the image for ever so you have to place the optimized image somewhere where you are in control of the image

---

<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: [June 10, 2022, 8:33am UTC](https://community.glideapps.com/t/image-compression-method/42867/6 "2022-06-10T08:33:15Z")

</div>

Ah, that’s a valid point. In my scenario, I used to have an additional step to upload them to Imgur, then that link is brought back to Glide.
