Click on a thumbnail