click on any image to open the gallery