Skip to main content
Inspiring
April 17, 2018
Question

cfhtmltopdf image issue

  • April 17, 2018
  • 1 reply
  • 863 views

Just upgraded to CF2016 on a Windows 2016 server. Using CFHTMLTOPDF for the first time and I can't get any image to convert. The PDF created just has a "?" where the image should be. What am I missing? It worked fine before with CFDOCUMENT.

<cfhtmltopdf>

<img src="logo.jpg">

</cfhtmltopdf>

Thanks in advance for any help!


Gary

This topic has been closed for replies.

1 reply

Priyank Shrivastava.
Community Manager
Community Manager
April 17, 2018

Hi Gary,

Please check if you are able to get the HTML to print the image. I had trouble getting image display in HTML. I had to put the image into the wwwroot folder. If you can get the image ti display in html browser than add the cfhtmltopdf tag.

Thanks,

Priyank

Thanks, Priyank Shrivastava