# How to store images in the image picker to Google Drive

**URL:** <https://community.glideapps.com/t/how-to-store-images-in-the-image-picker-to-google-drive/12457>\
**Category:** Ask for Help\
**Created:** [July 14, 2020, 10:21am UTC](https://community.glideapps.com/t/how-to-store-images-in-the-image-picker-to-google-drive/12457 "2020-07-14T10:21:58Z")\
**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:** [July 23, 2020, 7:19am UTC](https://community.glideapps.com/t/how-to-store-images-in-the-image-picker-to-google-drive/12457/21 "2020-07-23T07:19:59Z")

</div>

@ehattori the reason that hit the limit might also have to do with the size of the images. Do you need to have very large images? If not then you could ask for a new feature where in the upload process you can select image size. Other people have requested that but for your use case it might be extremely relevant.

---

<div class="post-metadata">

**Author:** ![ehattori](https://avatars.discourse-cdn.com/v4/letter/e/cc9497/32.png) [@ehattori](https://community.glideapps.com/u/ehattori)\
**Post date:** [July 24, 2020, 12:59am UTC](https://community.glideapps.com/t/how-to-store-images-in-the-image-picker-to-google-drive/12457/22 "2020-07-24T00:59:01Z")

</div>

Thank you for your reply.

So far, I have taken about 8,000 photos and uploaded them to firebase. If the size of the picture taken by the image picker is smaller then the firebase disk space issue is resolved.

However, the challenge is to manually retake the photos that have been uploaded so far. It would be great if you can automatically change the size of uploaded photos.

---

<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:** [July 24, 2020, 4:41am UTC](https://community.glideapps.com/t/how-to-store-images-in-the-image-picker-to-google-drive/12457/23 "2020-07-24T04:41:11Z")

</div>

@ehattori how did you get the images into firebase? Did you import 8000 images one by one via the image picker? Or did you in someway batch upload all of them. If the later you could resize the images before upload

---

<div class="post-metadata">

**Author:** ![ehattori](https://avatars.discourse-cdn.com/v4/letter/e/cc9497/32.png) [@ehattori](https://community.glideapps.com/u/ehattori)\
**Post date:** [July 25, 2020, 6:25am UTC](https://community.glideapps.com/t/how-to-store-images-in-the-image-picker-to-google-drive/12457/24 "2020-07-25T06:25:39Z")

</div>

The image was picked up by the image picker with multiple members. So the original image data is in firebase. If you can browse and download images in bulk like Google Drive, we can resize the images, but we need to download the images one by one using the application in the browser of the computer.

---

<div class="post-metadata">

**Author:** ![camous](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/camous/32/7514_2.png) [@camous](https://community.glideapps.com/u/camous)\
**Post date:** [October 13, 2021, 5:14pm UTC](https://community.glideapps.com/t/how-to-store-images-in-the-image-picker-to-google-drive/12457/25 "2021-10-13T17:14:42Z")

</div>

> disclaimer : pointed by @Krivo glideapps doesn’t recommend storing pictures on google drive as not designed for and this might not scale. probably good for personal usage like mine.

don’t know if against glideapps rules & term of usage (made a quick look but not deep dive), I made a google apps script for taking care of downloading pictures uploaded through glideapps, resize them and upload into accessible google drive folder .

associated with a trigger, it’s almost transparent, more details here.

> **[Resize and host glideapps pictures into Google Drive](https://stuffandtacos.azurewebsites.net/2021/10/13/resize-and-host-glideapps-pictures-into-google-drive/)**
>
> disclaimer : storing pictures on external hosting might not scale. Depending on your usage. https://docs.glideapps.com/all/courses/quick-starts/getting-started/adding-images#external-hosting 2021-nov-16 update : updated with data flushing...

---

<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:** [October 13, 2021, 5:32pm UTC](https://community.glideapps.com/t/how-to-store-images-in-the-image-picker-to-google-drive/12457/26 "2021-10-13T17:32:01Z")

</div>

@camous storing images in google drive is not recommended. Have a look here

> **[Adding images](https://docs.glideapps.com/all/courses/quick-starts/getting-started/adding-images)**
>
> How to add and host images properly for your app.

---

<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:** [October 13, 2021, 5:32pm UTC](https://community.glideapps.com/t/how-to-store-images-in-the-image-picker-to-google-drive/12457/27 "2021-10-13T17:32:19Z")

</div>

I notice that you’re using an onEdit trigger. Does that actually fire when an image is uploaded via Glide?

The reason I ask is because in my experience, changes initiated by Glide in the GoogleSheet will never fire an onEdit event - only onChange events.

---

<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:** [October 13, 2021, 5:35pm UTC](https://community.glideapps.com/t/how-to-store-images-in-the-image-picker-to-google-drive/12457/28 "2021-10-13T17:35:24Z")

</div>

@camous

Another way to resize and store images instead of using google is to move an uploaded image to cloudinary just after it has been uploaded via the image picker.  
Take a look on this demo app. You don’t need to store the location as the demo app does.

> [@Photo-location - and images AUTO-UPLOADED to Cloudinary](https://community.glideapps.com/t/photo-location-and-images-auto-uploaded-to-cloudinary/26936):
>
> Main features Upload a photo to Glide and mark it with a location Auto-upload the photos to Cloudinary Resizing and other maniputations of the photo uploaded to Cloudinary Remove the photo from Glide View all the photos uploaded - and directly sourced from Cloudinary account Photo and location saved to both Glide Table and Google Sheets Idea Photo and location is inputted to the glide table “Input…” and data are copied to “Registrations” Photo and location is then cleared from …

---

<div class="post-metadata">

**Author:** ![camous](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/camous/32/7514_2.png) [@camous](https://community.glideapps.com/u/camous)\
**Post date:** [October 13, 2021, 5:50pm UTC](https://community.glideapps.com/t/how-to-store-images-in-the-image-picker-to-google-drive/12457/29 "2021-10-13T17:50:34Z")

</div>

> [@Photo-location - and images AUTO-UPLOADED to Cloudinary](https://community.glideapps.com/t/photo-location-and-images-auto-uploaded-to-cloudinary/26936/1):
>
> izing and other maniputations of the photo u

hey, thanks for your feedbacks !  
@Darren_Murphy, you are totally right, I double checked with an existing script I had and yes, I was incorrectly using “on edit” rather “on change” (updated the picture and text in blog)

@Krivo good pointing (pretty sure I already read it before …) I added a disclaimer and link to the page you mentioned and would update this community thread. For my usage, personal usage for my cooking recipies and maybe other, pretty sure google drive would scale 🙂

again thanks for your quick feedbacks !

---

<div class="post-metadata">

**Author:** ![adiboo\_adib](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/adiboo_adib/32/24714_2.png) [@adiboo\_adib](https://community.glideapps.com/u/adiboo_adib)\
**Post date:** [November 12, 2021, 10:24am UTC](https://community.glideapps.com/t/how-to-store-images-in-the-image-picker-to-google-drive/12457/30 "2021-11-12T10:24:46Z")

</div>

Hi i tried the script with trigger but it doesn’t move images to google driver folder. can you help please?  
thanks

---

<div class="post-metadata">

**Author:** ![adiboo\_adib](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/adiboo_adib/32/24714_2.png) [@adiboo\_adib](https://community.glideapps.com/u/adiboo_adib)\
**Post date:** [November 12, 2021, 10:31am UTC](https://community.glideapps.com/t/how-to-store-images-in-the-image-picker-to-google-drive/12457/31 "2021-11-12T10:31:59Z")

</div>

I changed only this id, right???

 ![screenshot-stuffandtacos.azurewebsites.net-2021.11.12-11_31_07](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/2/02e81e23bf48e4ab543e4714a8b95b929a3ebc76.png)

---

<div class="post-metadata">

**Author:** ![camous](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/camous/32/7514_2.png) [@camous](https://community.glideapps.com/u/camous)\
**Post date:** [November 16, 2021, 9:26am UTC](https://community.glideapps.com/t/how-to-store-images-in-the-image-picker-to-google-drive/12457/32 "2021-11-16T09:26:34Z")

</div>

yes, you should update line 4 with folder id (visible when you navigate in google drive) and line 3 with the sheet range where the script should detect pictures uploaded by glide.

---

<div class="post-metadata">

**Author:** ![adiboo\_adib](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/adiboo_adib/32/24714_2.png) [@adiboo\_adib](https://community.glideapps.com/u/adiboo_adib)\
**Post date:** [November 16, 2021, 11:17am UTC](https://community.glideapps.com/t/how-to-store-images-in-the-image-picker-to-google-drive/12457/33 "2021-11-16T11:17:49Z")

</div>

thank you for your reply but it doesn’t work can you help please?  
thanks

[Previous page](https://community.glideapps.com/t/how-to-store-images-in-the-image-picker-to-google-drive/12457.md?page=1)
