I stumbled upon another issue when generating pdfs today,
When I try to insert an image from sharepoint by converting it to base64 it does not show up on the pdf document. If
I paste the HTML code which is generated before hand for the pdf into a html document and let it run on chrome the image shows up perfectly and everything fits. Any ideas ?
My generated HTML code:
<!DOCTYPE html><html><header><meta charset="UTF-8"><img class="logo" src="BASE64ConvertedImageNormallyHere,CutForCharLimit" width="150" height="100" style="background:black;padding: 5px 5px 5px 5px;position:absolute;margin-top:-25px;margin-left:10px"><h3 class ='top' style='text-align:center;padding-left:20px;'>Besuchsbericht</h3>
<hr style='content: '*';display: inline-block;position: relative;top: -0.7em;font-size: 1em;padding: 0 0.15em;background: white;'>
</header>
<body>
<div>Vertreter: xXx</div>
<div>Kunde: xXx</div>
<div>Datum: xXx</div>
<hr>
<b>Bericht</b>
<div>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</div>
<hr style='content: '*';display: inline-block;position: relative;top: -0.7em;font-size: 1em;padding: 0 0.15em;background: white;'>
</body>
</html>
My Pdfs are also 70kb bigger than before so the Base64 encoding is for sure present. Flow shows no error and generates the pdf, just without an image.