Testing Base64 Image
Fleetinghttps://www.w3docs.com/snippets/html/how-to-display-base64-images-in-html.html
Let’s play with this image
https://konubinix.eu/ipfs/bafkreihow5kbztfqupnw42airymuzrcm7klpixbsspbuakaunt5olo6cyq
Testing with the url
cat<<EOF
<img src="https://konubinix.eu$(echo ${image}|trim)?a.jpg"/>
EOF
Now, testing with the base 64 representation
ipfs cat ${image} | base64
cat<<EOF
<img src="data:image/png;base64,$(echo ${base64}|trim)"/>
EOF