carbone
carbone copied to clipboard
[Bug Report]: Template Images are not embedding in Html file while conversion
Environment Carbone Version: [e.g. Carbone 2.1.0] Node Version: [e.g. Node 10.20.1] Browsers: [e.g. postman] Desktop OS: [e.g. Mac Os] Other: [e.g. LibreOffice: 7.0.1.2]
Expected Behaviour Html export file should be as it is as a Docx file.
Actual Behaviour There are no static images in Html export file.
Steps to reproduce Steps to reproduce the bug:
- Simply source any docx file which contains static images.
- convert that file using .convert function
- See the result without images
Screenshots InvoiceTemplate-copy.docx
Hello! Thank you @MuhammadAizaz-Max for reaching us The convertion should return the HTML and an image, I will look into it and give you updates :)
IMO, the most obvious solution to keep things simple by outputing a standalone transformed file is to inline image as base64 dataUri.