support data-url format