How to update images in PWM mail template

Hi Team,

I converted image to base 64 string using below link and embedded the base 64 string in HTML code available in PWM mail template.

How can I convert an image into Base64 string using JavaScript? - Stack Overflow

While triggering sample mails Image header and footer is missing.

How do we fix this? was there any easier alternative way to update images in PWM ?

We are using 5.13.2 version