How do I use Base64 in an HTML img tag?
After encoding, paste the entire data URL as the src value: <img src="data:image/png;base64,iVBORw0…" alt="…">. The prefix data:image/png;base64, tells the browser the MIME type; do not strip it unless your framework adds it separately.