And resize the thumbnail