Try switching to an <img> with data url.