apilayer / html2pdf.it

Webservice for generating pdfs from html
html2pdf.it
549 stars 157 forks source link

Can't load images with javascript #69

Open ZyMonogatari opened 6 years ago

ZyMonogatari commented 6 years ago

Hi. I'm trying to load some images at my document dynamically with a script.

<script type="text/javascript"> document.write('<img id="map" src="./img/'+ estate +'.png">'); </script>

at html works fine, but at my pdf I just get this. Any idea? captura