I also like self contained pages, especially how they simplify long term maintenance.
For images I do a different hack, I encode images to base64 and embed them via CSS `background: url('data:image/jpeg;base64,/...')`, or img src. The base64 encoding is not very efficient though, so I wouldn't do this for larger images.
Example: https://merely.xyz (page background has a subtle "concrete" pattern).
For images I do a different hack, I encode images to base64 and embed them via CSS `background: url('data:image/jpeg;base64,/...')`, or img src. The base64 encoding is not very efficient though, so I wouldn't do this for larger images.
Example: https://merely.xyz (page background has a subtle "concrete" pattern).