-
-
Notifications
You must be signed in to change notification settings - Fork 288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Images are not rendering in img tag or background-img #289
Comments
Any resolution so far ? |
Not yet, in this moment I remove the images, but it is mandatory. |
Add this in your css: body {
-webkit-print-color-adjust: exact;
} |
getting same Error |
By now, I convert the images into svg and put it inside the code. |
this issue is already mentioned over and over again. It's a security issue from puppeteer and does not allow you to load project level images. Here's a workaround that worked for me: https://stackoverflow.com/questions/66751136/puppeteer-does-not-load-images-stored-locally-when-generate-pdf |
Environment
chrome-aws-lambda
Version: 10.1.0puppeteer
/puppeteer-core
Version: 10.4.0Expected Behavior
Current Behavior
Steps to Reproduce
Possible Solution
The text was updated successfully, but these errors were encountered: