View a counter like instagram images

Hello,
I view photos in a Repeating group in horizontal scrolling mode.

Let’s imagine we have 5 images and we want to see the image display counter in this way: 1/5

I wish that when the photo is visible, the cell number corresponding to the image is displayed.

The difficulty is in showing this data outside the repeating group.

Bubble allows you to view the photo number only if you click on the photo and not when it is visible.

Is there a way, for example, to store the data in a custom state?
Thanks for your help

there is a plugin that is capable of identifying elements that are in view (ie: visible on page at the current scroll position)

I would bet if you thought it throw and mapped out the functionality, you’d be able to use it to tell if an image is in view…then you’d need to think through your process for getting that information to your counter

I do things like keep sort orders on images (not best for all use cases) and this allows me to match a sort number to a current cells index number

You might just have it so the plugin recognizes the image as being in view and then use the workflow events to set the custom state to the current cells index number

This topic was automatically closed after 70 days. New replies are no longer allowed.