Fixed handling of image sources outside the site