display of images in the gallery application