<text:image xlink:href=”data:image/png;base64,${base64Image}” xlink:type=”simple” xlink:show=”embed” xlink:actuate=”onLoad”/>
As an example, the code above. I’ve already tried everything, xlink:href=”data:image/png;base64,${base64Image}” does not convert a base64 string to an image.
It’s another thing to use office:binary-data, but it is no longer supported in Word and this approach is not suitable because of this (it is necessary that the picture opens normally in both Odt and Word)
Please tell me why I can’t get an image using base64 and href
Дима Донских is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1