Listing the images in a gallery.