Modal form to show picture

I want to create a modal form for each photo in a table. Click on the thumbnail and it opens a large version of the picture. I can’t get it to work in a table at all. I’ve got it working for a single picture that is not in a table. How do I load a different picture in each form? Can it work in a table?

I can definitely help you on this, but I am not sure what your code/demo looks like. Can you send me a link?

I’ll work on it more. I’ve decided to go another way for now.