Include image

  • I have this HTML code

    jsreport.render("<h1 style='float:center'>ola k ase</h1><br><span>CIF</span>" +
            "<br><img src='images/llorer.jpg'/>")

    But, the image not included


  • The best would be to reference image from a web server in this case, like http://localhost/images/llorer.jpg or use base64 to encode it and pass it in string.

Log in to reply

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.