MaxMelcher / AzureDevOps.WikiPDFExport

Export Azure DevOps Wiki to PDF
MIT License
186 stars 62 forks source link

Images not shown #139

Closed samuel-weber closed 1 year ago

samuel-weber commented 1 year ago

Images not shown - version 4.6.0 image

Using this header template

<div
  style="
    padding-left: 10px;
    margin: 0;
    -webkit-print-color-adjust: exact;
    border-bottom: 1px solid grey;
    color: grey;
    width: 100%;
    text-align: left;
    font-size: 6px;
  "
>
  AzureDevOps.WikiPDFExport
  <img
    class="lnXdpd"
    alt="Google"
    height="92"
    src="https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png"
    srcset="
      https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png 1x,
      https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png 2x
    "
    width="272"
    data-atf="1"
    data-frt="0"
  />
</div>
JohnnyUndercover commented 1 year ago

You could try to encode the images in base64 and put it into the template as mentioned here: https://github.com/MaxMelcher/AzureDevOps.WikiPDFExport/issues/111

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.