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.
Whatever you say buddy! And I believe this tiny ad too:
ScroogeXHTML - the small and fast RTF to HTML converter library