MaxMelcher / AzureDevOps.WikiPDFExport

Export Azure DevOps Wiki to PDF
MIT License
191 stars 65 forks source link

Images are missing #28

Closed HeinzErnst closed 3 years ago

HeinzErnst commented 4 years ago

I have images referenced like this:

image.png

They don't appear in the PDF.

chucker commented 3 years ago

I can't see your attached image, ironically. 😀

In our case, changing relative paths to explicitly start with ./ fixed it. For example:

![Some alt text](./../My-Filename.png)
MaxMelcher commented 3 years ago

if you add the image as html img tag, please ensure that it does not require authentication - with the link you provided I assume the converter cannot download it and embed it into the pdf.

I tried it with a placeholder image and that worked: <img src="https://via.placeholder.com/150"/>