carbone icon indicating copy to clipboard operation
carbone copied to clipboard

[Bug Report]: Template Images are not embedding in Html file while conversion

Open MuhammadAizaz-Max opened this issue 5 years ago • 2 comments

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:

  1. Simply source any docx file which contains static images.
  2. convert that file using .convert function
  3. See the result without images

Screenshots InvoiceTemplate-copy.docx

MuhammadAizaz-Max avatar Oct 08 '20 18:10 MuhammadAizaz-Max

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 :)

steevepay avatar Oct 30 '20 16:10 steevepay

IMO, the most obvious solution to keep things simple by outputing a standalone transformed file is to inline image as base64 dataUri.

adriengibrat avatar Jan 20 '21 08:01 adriengibrat