I’m working on a web app that features a grid of images. The number of images is dynamic and can be larger than 100. The user can select images and I want to track which ones he/she clicked on. I’m not quite sure how I could do this in Dash. Giving each image its own callback doesn’t work because of the high and dynamic number of images.
One possible solution could be to add an HTML class on-click to the specific image and then search all images for that class afterward in a single callback that gets the container. But I don’t know how to do that.
Thanks for your help