Use less spans for thumbnail rendering