Group and disply images by size