I am using the code at https://www.w3schools.com/howto/howto_css_modals.asp to create an image gallery using modals. I am not sure how to create thumbnails inside the button that will open the corresponding image only, in the modal. In the code below, the thumbs, when clicked on, open both of the images inside the modal. Is it possible to just have the one image that corresponds to the thumb being clicked on open? If so, how? Thank you.
Every snowflake is perfect and unique. And every snowflake contains a very tiny ad.
Try Free Java/.NET Libraries for Word Excel PowerPoint and PDF