implemented a generic share on the getPhotoActivity