limiting thumbnail results to 5 per type