Display list of images in a repeating group?

I 'll start by saying I know others have asked this question but I have looked at all the answers and can’t get anything to work.

I have used Bubble’s plugin for multi-image uploading and it saves in the database as a list of images:

In the database, it looks like this:

I then created a repeating group, added an image, and searched for the most recent upload:

This only displays the submissions with a single image though:

If there are multiple images I’m getting this error and it’s not displaying anything:

So to sum it up my question is how do I display lists of images ranging from 1 to multiple images?

Thank you!

Check the image element’s height/width? Maybe the images are too large to fit in them…

Wild guess, but sometimes the simplest things cause the biggest issues lol

Unfortunately that didn’t work. It’s only recognizing/displays uploads with a single image and shows the error any time there are multiple images regardless of size.

are you using a plugin to upload the multiple files?

Yeah, I am using Bubble’s Multi File plugin:

check docs…maybe some weird gimmick about displaying them.

@boston85719 you seem to know everything :slight_smile: Have any idea what the issues is here?

Hi, the image element will show only 1 image.
If you want to display the list you must nest a second Repeating Group with the list of images uploaded of the current cell’s submission as data source and type image. And put an image element in it with current cell’s image.
Hope this help :wave:

2 Likes

Thanks for the reply. This is how I built it out but I am still running into the same issue where is displays the first image but gives an error for anything with multiple images.

The primary repeating group:

The repeating group inside the primary:

The image inside the secondary repeating group:

The error message:

Looks like it could be a Bubble bug because the error message says ‘the image’ could not be loaded, as in a single value, but then provides a list of image URLs separated by commas, so it seems like it is trying to treat the list of images as a single image.

Maybe review my tutorial above, as it might uncover something else that is not presented in the thread yet as the problem.

Ok understand, I suppose the problem comes from your privacy settings. You should allow people to see attached files if they are not the current user that uploaded the images.
Hope this help :wave:

The submission data is set to public, is there another setting I need to change?

Go to the user privacy settings and check “View attached files” for the default permission “Everyone else”. And then it should work :crossed_fingers:

Unfortunately that’s also already checked. I have submitted a bug report to the Bubble team and I am waiting to hear back to see if this is just an issue on Bubble’s side or if they have a solution.

I appreciate you trying to help! If you think of anything else it might be, I am happy to check.

1 Like