click on image to view gallery or video