Added back the on click for the gallery

image isn't being shown in the ImageView slot, needs fixing.