Best Way to Handle Multiple Image Uploads With Captions/Tags

Hello everyone. I’m building a gallery app where users can upload multiple photos and later open each image to edit details such as captions, tags, etc

However, to store captions and tags properly, each photo needs to exist as its own row in the database. The problem is that when users upload multiple images at once, Glide stores all of them in a single cell as an array, instead of creating one row per photo.

Is there a way in Glide to automatically take an array of uploaded images and split it into individual rows (one image per row) after the upload?

Any guidance or recommended approaches would be greatly appreciated. Thank you!

I would:

1. Create a Manual Workflow

  • Add a variable of type “String Array” named “photos”.

2. Trigger the workflow on form submission

  • When users submit multiple images via your form, trigger the Manual Workflow and pass the images as the photos array.
  • If the form cannot pass an array, pass a single text value that joins all photo URLs (e.g., comma-separated).

3. Loop to create rows

  • If photos is a string array: loop through the array and create one new row per photo.
  • If you passed a joined text: split it into an array first, then loop and create one new row per photo.
2 Likes