Added accepting of URLs for images