Embed an image into a DOCX file in LibreOffice Writer

If I have an HTML file with an image (local), and I open it in LibreOffice Writer 5.4.6.2, and save as it as DOCX, it will link the image, and show it while the path to the image is unchanged. If the path to the image is changed, it is not shown in the document, saying “Read error”. How can I embed the image into the DOCX file in LibreOffice Writer?

Thanks