Display a gallery of images that is sorted by ranking