added the ability to use URLs for images but not used currently