allow passing of data-urls and blob-urls
update