accept data-url as image source