The workflow you have to display the data in the popup and to open the popup is correct you just need to add the image element to the page and also an image field to your data to store the image. I added an image element to the page and set it up so it displays the picture in the popup when the image on the page is clicked.