Open anjanesh opened 1 year ago
How do I add images to the PDF without using a link or base64 string ?
byte[] bytArr = oHelper.GetImageFromFirebase(imgUrl, false);
The reason why link is not available is because its not globally available - only on localhost.
No base64 string because the size becomes huge since there are about 100 images.
So I am looking for a way to add images in the middle of the HTML page like we can do in mPDF - $mpdf->Image();
$mpdf->Image();
Hi @anjanesh, I think this can be handled with a custom uri resolver.
https://github.com/danfickle/openhtmltopdf/wiki/Integration-Guide#uri-resolver
How do I add images to the PDF without using a link or base64 string ?
The reason why link is not available is because its not globally available - only on localhost.
No base64 string because the size becomes huge since there are about 100 images.
So I am looking for a way to add images in the middle of the HTML page like we can do in mPDF -
$mpdf->Image();