It would be really nice if images could be included inside JavaScript or otherwise inlined into a web page rather than always being fetched from the web server. Firstly, it would give us some more control over the presentation of our ideas. When I put up a desk calculator, I want all of the button images to display at once. I don't want my users watching an unscripted animation as the images are one by one stitched over the skeleton of my page. I don't want them looking at skeletons at all,
The data url format allows the value of a small object to be encoded inline as base64 content. This looks like this:
<IMG SRC="data:image/gif;base64,[...]">
Read full article from Inline Images on Web Pages
No comments:
Post a Comment