Added onclicks to image and photo note buttons