Strong lensing in the Einstein–Straus solution