Base64-encoding images for use in web pages has been around for a while. Conventional wisdom stated that images should be encoded as base64 text for inline use in html for two primary reasons: reduce the number of http requests in a single page improve the performance of the page by reducing page load time There’s no disputing - at all - that inlining the encoding of an image in the img tag eliminates the additional page load of a real image.
There are numerous image-viewer libraries - some pretty well designed & coded - that provide everything from a simple grid layout to professional-quality image controls such as zooming, flipping & scaling. While a few of these are really attractive with regard to design choices that the author made, they’re ultimately just that: choices of that author. My north star for this project is simple: I’ll use OSS packages for infrastructure like the server, i.