update the thumbs of gallery to small size