Added galleries to the image popups.