1. A method comprising: generating, by a device and based on a first plurality of images grouped into a plurality of clusters, a ranking of the first plurality of images, each cluster, of the plurality of clusters, including at least one of the first plurality of images, and the ranking of the first plurality of images being based on a respective image attribute associated with each image, of the first plurality of images, in each cluster of the plurality of clusters; comparing, by the device, the ranking with a set of rankings of images; selecting, by the device and based on the comparing, a particular set of rankings from the set of the rankings of the images; and providing, by the device and for presentation, a second plurality of images, the second plurality of images being ranked based on an attribute associated with the selected particular set of rankings.