classified thumbnail generation