Skip to main content
Solved

Selecting images in variable order assigning them a number


Malena

Hello! I’m looking for a solution for a prototype.
I would like to simulate the photo selection feature that Instagram currently has when publishing a carousel. That is: select multiple images in the order I want and be able to assign a number to each one. The assigned number represents the order in which I select them.

So far, I’ve managed to save the total number of selected photos in a numeric variable, but I can’t get the photos to have their own numbers. They all end up with the total number.

How could I do that? Thank you very much!

Best answer by Nate_G

@Malena I was trying out different approaches, but ended up assigning a number variable to each photo and then setting that number variable to a photo-counter variable that increases or decreases depending on the photo being clicked.

It got a bit crazy, but I hope this helps get you pointed in the right direction.

View Prototype
Get the File

View original

2 replies

Nate_G
  • Power Member
  • 180 replies
  • Answer
  • November 1, 2023

@Malena I was trying out different approaches, but ended up assigning a number variable to each photo and then setting that number variable to a photo-counter variable that increases or decreases depending on the photo being clicked.

It got a bit crazy, but I hope this helps get you pointed in the right direction.

View Prototype
Get the File


Malena
  • Author
  • 2 replies
  • November 2, 2023

Hi Nate! Thank you very much for the great effort you put in this answer, this is exactly what I needed and I will try to apply this to my prototype! The file is wonderful.
You should definitely post this things as tutorials on YouTube!
Thanks again!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings