display of images from the gallery