URL to PDF - Missing images after conversion
If your website has a lazy load functionality for images, it could be the reason why the images are not showing in the PDF.
Unfortunately, lazy image loading is not supported. But there is a possibility to execute custom javascript before the conversion. You could try to force image loading if you know how to do it.
Here’s a sample API request with custom script:
POST [https://api.pdf.co/v1/pdf/convert/from/url](https://api.pdf.co/v1/pdf/convert/from/url)
{
"url": "https://www.alomone.com/p/anti-cav1-2-antibody/ACC-003?go=coa",
"customScript": "document.querySelectorAll('a').forEach(a => { a.href = '#' });"
}
Copyright © 2016 - 2024 PDF.co