add logic for images with no url scheme