click on an image to view the page