SelectPdf Html to PDF Image Not Appearing

3.9k Views Asked by At

I'm using SelectPDF to convert HTML to PDF

There's a section in the html for image:

<div>
    <img src="images\picture.png" alt="Logo">
</div>

There's no issue viewing the page in html But when the html is converted the picture doesn't appear.

1

There are 1 best solutions below

0
On

This issue was in the toubleshooting section of Select PDF.

https://selectpdf.com/html-to-pdf/docs/html/Troubleshooting.htm

I had to use a method that had both a template string and a base url string ConvertHtmlToString(string, string).