I am looking to change the image in my popup.
Currently the popup looks like the following below. I want to create a workflow where i click on the smaller images and the larger image is replaced by the smaller one. I cannot seem to figure this out at all and any help would be appreciated.
I know its probably a simple solution.
Also, the more context you provide with your questions (screenshots, link to an open app, etc.), the more likely you’ll get good help quickly
There are many ways to do this. The way I would probably do it, since it’s a popup, would be to create a state on the popup and save the image you click on into that state. Then just display the state in the main image so it switches when you click on the next image. Does that help? Or do you need an example?
I think @J805 is right. A custom state might be a good solution here.
But maybe use a type ‘Number’ to save the index of the RG below and not a type ‘Image’.
And show the RG’list of images:item #[custom state]. So you can also easily add previous/next buttons in the border of the main image if you want to.
thanks I got it working, it was the custom states part that i was doing incorrectly and your access to the editor was really helpful.
i really appreciate the demo and helping me out
thanks