I want to create a photo uploader that can write several images to the same column as new values each time, in a one-to-many relationship. But Glide puts this as an issue saying you cannot write images to the same column — it’s assuming I want all the photos to be in the same row, not to create new ones. Any way to do this?
It would also be necessary to have the photo write to multiple Airtable columns (order number, ID) that are associated with the order they’re uploading photos to.
Thanks. When I’ve tried to put 7 image pickers in a single form, it won’t let me write them all to the same column as unique values. That’s what we’re looking for – all images to write to one column as new values, and pull the customer ID with it, as opposed to making 7 columns for 7 image pickers.
Can you do that one-to-many relationship in Glide?
There’s no way to write 7 images to one column. I imagine the best way for you is to create a new table, but then you would have to upload images one-by-one, and do it 7 times.
Sort of like this:
Orders table: RowID - Customer ID - Order Info
Images table: Order ID - Image Link
Then you can relate the rowID from Orders to Order ID in Images. Does it work for you?
Thanks, @ThinhDinh. One additional question. How can the user upload more than one image to an image picker? I.e. How can the row automatically create a new row for each image, allowing the image picker to refresh and let them upload the next image?
It seems like that’s how they set it up here, as in their example table, different users have submitted several photos each to the same uploader, but I don’t see an explanation.
Have an image picker pointing to a user-specific column. Have a button to add a new row in the “Images” table, then clear the image picker user-specific column to prepare for the next entry. That way you can stay on the same screen.
Pretty sure it’s just the form here, they just submit it multiple times.