Can I define the base64 of an image in a class in the Stylesheet and use that class in the tag? Dynamic fonts works pretty much like this, but wondering if I can do the same for image also.
The real usecase is to load an HTML into a WYSIWYG editor with Data URI, and yet avoid repeating the binary content.
A simple gist is like:
CSS
.mylogo{
content: base64;
}
HTML
<img class="mylogo" height="" weight="">
I need to have height and weight etc attributes in the Img itself so that the WYSIWYG editors can resize image etc.