Click on a thumbnail to launch photo gallery