Gravitational lensing in the presence of plasmas and strong gravitational fields