changed ranking algorithm. show only 20 images.