Thank you for your help. But I'm afraid the fix appears to have introduced a small issue with various images on the website. They appear to be stretched. In particular the profile pictures in the user-pro plugin are affected ( I see you use that plugin here) But also the small profile picture on the admin bar in admin is stretched. Is there anything you can do. Other than that your fix has worked great.