each image is linked to its relevant gallery