Skip to main content
Inspiring
Apr 17, 2018 3:19 AM UTC
Question

cfhtmltopdf image issue

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 is closed to new replies. Start a new post to keep the conversation going.

1 reply

Priyank Shrivastava.
Inspiring
Apr 17, 2018 3:19 PM UTC

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

Translate
Thanks, Priyank Shrivastava