# Upload more than images

**URL:** <https://community.glideapps.com/t/upload-more-than-images/55172>\
**Category:** Ask for Help\
**Created:** [November 29, 2022, 12:41pm UTC](https://community.glideapps.com/t/upload-more-than-images/55172 "2022-11-29T12:41:30Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zamn\_Company](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/zamn_company/32/48338_2.png) [@Zamn\_Company](https://community.glideapps.com/u/Zamn_Company)\
**Post date:** [November 29, 2022, 12:41pm UTC](https://community.glideapps.com/t/upload-more-than-images/55172/1 "2022-11-29T12:41:30Z")

</div>

Good evening everyone

I build an app that make employee add real estate properties , but I find a issue that I can’t upload more images only one which is not good , cause I need to upload or capture from camera at least 5 images for the real estate property , so please help with that

---

<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:** [November 29, 2022, 12:43pm UTC](https://community.glideapps.com/t/upload-more-than-images/55172/2 "2022-11-29T12:43:37Z")

</div>

It’s not possible to upload multiple images using a single Image Picker component.  
To add multiple images using a single form, you would need to add multiple Image Pickers, and direct each one at a separate column.

---

<div class="post-metadata">

**Author:** ![Zamn\_Company](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/zamn_company/32/48338_2.png) [@Zamn\_Company](https://community.glideapps.com/u/Zamn_Company)\
**Post date:** [November 29, 2022, 12:45pm UTC](https://community.glideapps.com/t/upload-more-than-images/55172/3 "2022-11-29T12:45:10Z")

</div>

Hi Darren  
thanks for your responding

If I use Java Code in data editor , is that solve the problem ?

---

<div class="post-metadata">

**Author:** ![Thoughts](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thoughts/32/46790_2.png) [@Thoughts](https://community.glideapps.com/u/Thoughts)\
**Post date:** [November 29, 2022, 1:01pm UTC](https://community.glideapps.com/t/upload-more-than-images/55172/4 "2022-11-29T13:01:28Z")

</div>

You can create 5 image fields in the data editor.

In the form for the user, you can show image picker 1, and hide all the rest.  
Then you can set visibility for image picker 2 to be visibile when image picker 1 is not empty  
Image picker 3 will be visible if image picker 2 is not empty and so on until image picker 5.

---

<div class="post-metadata">

**Author:** ![Zamn\_Company](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/zamn_company/32/48338_2.png) [@Zamn\_Company](https://community.glideapps.com/u/Zamn_Company)\
**Post date:** [November 29, 2022, 1:07pm UTC](https://community.glideapps.com/t/upload-more-than-images/55172/5 "2022-11-29T13:07:48Z")

</div>

HI Thoughts

please can you show me example for this steps

---

<div class="post-metadata">

**Author:** ![Thoughts](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thoughts/32/46790_2.png) [@Thoughts](https://community.glideapps.com/u/Thoughts)\
**Post date:** [November 29, 2022, 3:58pm UTC](https://community.glideapps.com/t/upload-more-than-images/55172/6 "2022-11-29T15:58:50Z")

</div>

In the Data Editor - create 5 fields for images and name them Photo1, Photo2, …, Photo 5.

In the form, add 5 Image pickers and connect each one to a field (So first image picker will save to Photo1, 2nd image picker will save to Photo2 etc).

Go to the 2nd image picker, and in the Visibility option set that it will be visible if Photo1 is not empty.  
Go to the 3rd image picker, and in the Visibility option set that it will be visible if Photo2 is not empty.  
Go to the 4th image picker, and in the Visibility option set that it will be visible if Photo3 is not empty.  
Go to the 5th image picker, and in the Visibility option set that it will be visible if Photo4 is not empty.

---

<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 30, 2022, 12:47am UTC](https://community.glideapps.com/t/upload-more-than-images/55172/7 "2022-11-30T00:47:53Z")

</div>

This would kind of break if you have uploaded 5 images, then decided to clear image picker #4. The 5th image picker would then become invisible and you have to upload an image to the 4th to get the 5th back.

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [November 30, 2022, 5:07am UTC](https://community.glideapps.com/t/upload-more-than-images/55172/8 "2022-11-30T05:07:14Z")

</div>

I’ve used a slightly different method to do the same thing. If I recall correctly, I have 3 image pickers. I use the same method that @Thoughts outlined, but I also added a second OR condition to also show the picker if it’s not empty. I think I may have even gone further and set it up so all previous pickers will still show if any of the following pickers are not empty. So, for example, if pickers 1 and 2 are empty, but picker 3 is still filled, then both 1 and 2 will still show. Once picker 3 is cleared, then only picker 1 is visible and 2 and 3 are hidden. Just depends on how complex you want to make the visibility conditions.

---

<div class="post-metadata">

**Author:** ![Thoughts](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thoughts/32/46790_2.png) [@Thoughts](https://community.glideapps.com/u/Thoughts)\
**Post date:** [November 30, 2022, 9:13am UTC](https://community.glideapps.com/t/upload-more-than-images/55172/9 "2022-11-30T09:13:50Z")

</div>

So maybe set visibility to image picker4 to show if image picker 3 is not empty OR if image picker4 is not empty.

---

<div class="post-metadata">

**Author:** ![Zamn\_Company](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/zamn_company/32/48338_2.png) [@Zamn\_Company](https://community.glideapps.com/u/Zamn_Company)\
**Post date:** [November 30, 2022, 9:57am UTC](https://community.glideapps.com/t/upload-more-than-images/55172/10 "2022-11-30T09:57:50Z")

</div>

Many thanks to you all , but still didn’t reach to my purpose  
but yesterday I thought that I can solve this issue if I used Java code in glide , I think it will be good solution

---

<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 30, 2022, 1:40pm UTC](https://community.glideapps.com/t/upload-more-than-images/55172/11 "2022-11-30T13:40:05Z")

</div>

If you’re referring to the JavaScript column, it processes input data and returns something for you. Curious on your idea on how to use it for this purpose?

---

<div class="post-metadata">

**Author:** ![Zamn\_Company](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/zamn_company/32/48338_2.png) [@Zamn\_Company](https://community.glideapps.com/u/Zamn_Company)\
**Post date:** [November 30, 2022, 2:39pm UTC](https://community.glideapps.com/t/upload-more-than-images/55172/12 "2022-11-30T14:39:15Z")

</div>

In data editor , you can choose Code from Type option  
The purpose to write code for uploading images like the code at any program  
Im not programmer , but I will ask one to give me a hand in this idea

---

<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:** [December 1, 2022, 12:08am UTC](https://community.glideapps.com/t/upload-more-than-images/55172/13 "2022-12-01T00:08:05Z")

</div>

As I said above, I still don’t see how it would help your case.
