Is there a way to register a click on an image that is displayed in the main section? I need to know when a particular image was selected.
Context: I’m building an app that displays a grid of images, where every single one can be selected and results in an action. I understand the st.grid() is currently in development. I also found out that multiple images can be displayed in a row by feeding a list into st.image(). The last piece to the puzzle I need, is to register which image was clicked. Checkboxes would be an option too, but AFAIK they cannot be displayed in a row.