Generate data-uri's from html content