Create data-uri styles. Load images onload event.