Embedding Images as Base64

Hello Hugo Community,

Is thre any way that I can embed remote images as a base64 raw?

Yes just use this source in your <img> html code. Obviously, adapt the value to your remote image.

src="data:image/png;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs="

Thanks for the reply but I want to delegate this HUGO, not manually.

Ah ok.

If the image is in your asset I guess you can do this : Medium-like lazy loading of images

But remote …

How would that work? Hugo process your image and upload it elsewhere? What do you have in mind?