šŸ–¼ļøšŸ–¼ļø Glide Image Gallery and Multiple Image Picker — Now with Photo Rearranging!

Thank you @ThinhDinh and @Robert_Petitto! Your answers sent me down the rabbit hole :sweat_smile: Here’s an even simpler solution (to a problem that no longer exists :rofl:) that combines and tweaks both of your suggestions:

9 Likes

A mod of a mod formula! Inception-like!

3 Likes

This way information about each pic would attached to the slide # giving a more robust solution. Pictures are but Pictures & text is better.

1 Like

ā€œGo to URLā€ is an action option, but the image array cannot be selected, so this does not work.

Another way to do the math, which is less ā€œinceptionā€ like is to convert the negative number into an absolute number. Then it will be positive no matter what. Only problem is that once you hit negative numbers, it will start looping through the images in reverse order because you are counting up when you are counting down. But from a purely mathematical standpoint, the resulting number would be more of what one would expect.

MOD(ABS(imageindex),count)

4 Likes

Here’s how to allow a user to select a specific image from the array and set it as the ā€œfeatured imageā€:

@erwblo

5 Likes

I think you can take advantage of the ā€œcurrent URLā€ value to not have to use a set column action.

\/([^\/]+)$
3 Likes

Hm. Haven’t tried this. Nice workaround (as long as you’re using rowIDs as identifier)

1 Like

I just noticed that when using a google sheet, multiple image & file pickers are forced to ā€œuser-specificā€, and the image won’t re-load after the app is closed and re-opened. Must be a bug…

Are you previewing as a specific user, or are you previewing as anyone in the builder? User specific column values will only be saved permanently if they can to linked to a specific user.

It’s not a bug. The multiple images & files columns, as of now, are not designed to work with Google Sheets. It’s kind of a grey area where it’s not a basic column, but it’s not a computed column either.

1 Like

That’s what I was wondering. Hopefully that changes, as Google sheets is still an integral part of all my apps, which means these multiple file and multiple image columns are not useful to me at all yet.

Just curious, what’s the reason you’re not moving to Glide Tables?

Is there a way to upload batches of images and display the image gallery on a detail screen, where edit screen is not an option?

For my app, there’s no sign-in and I add all of the content myself.
When I test using the multi-image column and image picker, I get this:

image

I also wouldn’t want anyone else adding images so the red + sign is not good for me…

Unless there is a way to restrict these edit screens to only the app owner on a no sign-in app… Which would be perfect!

Probably want to use a form screen instead, then roll up all the images using a lookup column and use that in the gallery component.

ok, I’ll try it. I can set the form screen to be only accessed by me?

Why is Edit Screen not an option? Couldn’t you just make it so you are the only one that can sign in and restrict editing to only you?

Would seem like that would be the easiest option to add images using a Multiple Files column and an image picker on an edit screen, and then display it using an image component on the detail screen.

Edit screen is surely an option. Maybe I was reading too much into this:

1 Like

hi @Jeff_Hager, if I do this, wouldn’t I have to select privacy option as ā€œoptional sign-inā€ā€¦ and then persons with company emails won’t be able to see my app?

I’m not sure… I don’t have an active users table so I thought I wouldn’t be able to control the use of an edit screen or any editing actions if I enable them on the app.