addition of images to galleries