You don't
Thumbnails by default just open the image in a web browser window
Either set the hyperlink to open in a new window they can close, or
create a page for each image and change the hyperlink to the new page
| after setting an image to open in a new page, once the image is clicked ot
| enlarge how do I create a link back to the website?