live image is not working in html-embedded-in-docx recipe
-
Hello,
I am trying to use live image link in src but it is not working. local image with asset is working fine,
Can anyone able sort this out?
Here is a demo playground
https://playground.jsreport.net/w/Heplinesss_17/vxB9tKtjThanks!
-
Hi,
the library used in this recipe only supports base64 inline images.
However, it is an easy task in jsreport to download the image and convert it to a data URI. It can be done for example using a custom script like this
https://playground.jsreport.net/w/anon/fyy9_8eI
-
Thanks! @jan_blaha for the solution
I'm facing one issue for the images in this recipe. The images are not displaying in ms word in the mac system. It's working fine in windows.
Do you have any idea regarding that?
Thanks!
-
@bjrmatos26 Please try to open the docx from the playground in the mac ms office.
-
hi @Happy-Patel, i am not sure if the office version is relevant or not but i can see the images on my mac just fine (although it is not the same output than the one shown in playground)
in case it matters, i have Word for Mac v16.43 on High Sierra