# Capture image files on both iPhone camera roll and in database

**URL:** <https://community.glideapps.com/t/capture-image-files-on-both-iphone-camera-roll-and-in-database/77945>\
**Category:** Ask for Help\
**Created:** [November 15, 2024, 9:49pm UTC](https://community.glideapps.com/t/capture-image-files-on-both-iphone-camera-roll-and-in-database/77945 "2024-11-15T21:49:28Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bobby\_Gay](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/bobby_gay/32/74854_2.png) [@Bobby\_Gay](https://community.glideapps.com/u/Bobby_Gay)\
**Post date:** [November 15, 2024, 9:49pm UTC](https://community.glideapps.com/t/capture-image-files-on-both-iphone-camera-roll-and-in-database/77945/1 "2024-11-15T21:49:29Z")

</div>

I have a process app that our HVAC technicians use to capture information about customers’ heating and air conditioning systems. Included in the captured information are image files from pictures taken with an iPhone. When configuring the image picker components there is an option to either upload photos from the camera roll or use the camera to capture the picture.

My technicians say it is quicker to use the camera from the app. The only challenge is that the image uploads to an airtable database, but is not captured in the camera roll. The techs have asked if they can have the image appear on their camera roll as well as automatically updating the database. Is there a way to do that or a work around?

Thanks for any suggestions.

---

<div class="post-metadata">

**Author:** ![MaximeBaker](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maximebaker/32/80877_2.png) [@MaximeBaker](https://community.glideapps.com/u/MaximeBaker)\
**Post date:** [November 16, 2024, 12:32am UTC](https://community.glideapps.com/t/capture-image-files-on-both-iphone-camera-roll-and-in-database/77945/2 "2024-11-16T00:32:05Z")

</div>

Unfortunately, Glide or Airtable cannot directly save images taken within the app to the iPhone’s camera roll. However, here is how you can achieve a similar outcome:  
After the technician captures the photo using the app:  
Display the uploaded image back in the app.  
Add a “Download” button or link for the image file.  
The technician can tap the button to download and save the image manually to their camera roll.

---

<div class="post-metadata">

**Author:** ![Bobby\_Gay](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/bobby_gay/32/74854_2.png) [@Bobby\_Gay](https://community.glideapps.com/u/Bobby_Gay)\
**Post date:** [November 18, 2024, 4:19pm UTC](https://community.glideapps.com/t/capture-image-files-on-both-iphone-camera-roll-and-in-database/77945/3 "2024-11-18T16:19:37Z")

</div>

Thank you! I’ll give that a try.

---

<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:** [November 19, 2024, 12:24am UTC](https://community.glideapps.com/t/capture-image-files-on-both-iphone-camera-roll-and-in-database/77945/4 "2024-11-19T00:24:03Z")

</div>

Is there an elegant way to directly download from the button click?

---

<div class="post-metadata">

**Author:** ![MaximeBaker](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maximebaker/32/80877_2.png) [@MaximeBaker](https://community.glideapps.com/u/MaximeBaker)\
**Post date:** [November 19, 2024, 12:25am UTC](https://community.glideapps.com/t/capture-image-files-on-both-iphone-camera-roll-and-in-database/77945/5 "2024-11-19T00:25:21Z")

</div>

With actions…? What is your question?

---

<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:** [November 19, 2024, 12:32am UTC](https://community.glideapps.com/t/capture-image-files-on-both-iphone-camera-roll-and-in-database/77945/6 "2024-11-19T00:32:38Z")

</div>

I mean if you’re just using an action like open link in a new window, would it automatically download the image?

---

<div class="post-metadata">

**Author:** ![MaximeBaker](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maximebaker/32/80877_2.png) [@MaximeBaker](https://community.glideapps.com/u/MaximeBaker)\
**Post date:** [November 19, 2024, 12:35am UTC](https://community.glideapps.com/t/capture-image-files-on-both-iphone-camera-roll-and-in-database/77945/7 "2024-11-19T00:35:23Z")

</div>

You are right… Give me a sec, I try something.

---

<div class="post-metadata">

**Author:** ![MaximeBaker](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maximebaker/32/80877_2.png) [@MaximeBaker](https://community.glideapps.com/u/MaximeBaker)\
**Post date:** [November 19, 2024, 1:25am UTC](https://community.glideapps.com/t/capture-image-files-on-both-iphone-camera-roll-and-in-database/77945/8 "2024-11-19T01:25:04Z")

</div>

Well, I don’t think it is possible with the AI Component since it renders inside an iframe without the allow-downloads attribute.

---

<div class="post-metadata">

**Author:** ![MaximeBaker](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maximebaker/32/80877_2.png) [@MaximeBaker](https://community.glideapps.com/u/MaximeBaker)\
**Post date:** [November 19, 2024, 1:25am UTC](https://community.glideapps.com/t/capture-image-files-on-both-iphone-camera-roll-and-in-database/77945/9 "2024-11-19T01:25:20Z")

</div>

I tried with rich content. No success.

---

<div class="post-metadata">

**Author:** ![Atom](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/atom/32/82126_2.png) [@Atom](https://community.glideapps.com/u/Atom)\
**Post date:** [November 20, 2024, 10:49am UTC](https://community.glideapps.com/t/capture-image-files-on-both-iphone-camera-roll-and-in-database/77945/10 "2024-11-20T10:49:14Z")

</div>

I built a custom GitHub page that downloads the file passed in the URL:

Feel free to clone the repo if you don’t trust the 110 lines of code 😃

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/2/f2a70cf5d0e7aad7f0dbfe4544ea9c1e2da3a0d0.png)

---

<div class="post-metadata">

**Author:** ![MaximeBaker](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maximebaker/32/80877_2.png) [@MaximeBaker](https://community.glideapps.com/u/MaximeBaker)\
**Post date:** [November 20, 2024, 10:52am UTC](https://community.glideapps.com/t/capture-image-files-on-both-iphone-camera-roll-and-in-database/77945/11 "2024-11-20T10:52:10Z")

</div>

That is literally what I was searching for @Bobby_Gay 😂

---

<div class="post-metadata">

**Author:** ![MaximeBaker](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maximebaker/32/80877_2.png) [@MaximeBaker](https://community.glideapps.com/u/MaximeBaker)\
**Post date:** [November 20, 2024, 10:56am UTC](https://community.glideapps.com/t/capture-image-files-on-both-iphone-camera-roll-and-in-database/77945/12 "2024-11-20T10:56:06Z")

</div>

Could you please provide the link to the GitHub repository?

Edit:

> **[GitHub - ahappysloth/fileDownload](https://github.com/ahappysloth/fileDownload)**
>
> Contribute to ahappysloth/fileDownload development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![MaximeBaker](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maximebaker/32/80877_2.png) [@MaximeBaker](https://community.glideapps.com/u/MaximeBaker)\
**Post date:** [November 20, 2024, 11:01am UTC](https://community.glideapps.com/t/capture-image-files-on-both-iphone-camera-roll-and-in-database/77945/14 "2024-11-20T11:01:08Z")

</div>

Seems to not be working with FreePik

---

<div class="post-metadata">

**Author:** ![Atom](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/atom/32/82126_2.png) [@Atom](https://community.glideapps.com/u/Atom)\
**Post date:** [November 20, 2024, 11:39pm UTC](https://community.glideapps.com/t/capture-image-files-on-both-iphone-camera-roll-and-in-database/77945/15 "2024-11-20T23:39:06Z")

</div>

Quite busy atm to work on this but feel free to try and improve it with the help of Chat GPT 🙂

---

<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:** [November 21, 2024, 1:10am UTC](https://community.glideapps.com/t/capture-image-files-on-both-iphone-camera-roll-and-in-database/77945/16 "2024-11-21T01:10:23Z")

</div>

Bookmarked. Thank you!

---

<div class="post-metadata">

**Author:** ![Bobby\_Gay](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/bobby_gay/32/74854_2.png) [@Bobby\_Gay](https://community.glideapps.com/u/Bobby_Gay)\
**Post date:** [November 25, 2024, 5:03pm UTC](https://community.glideapps.com/t/capture-image-files-on-both-iphone-camera-roll-and-in-database/77945/17 "2024-11-25T17:03:58Z")

</div>

Thanks. Will check it out!
