You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is my pdf create command. But, the image was not loading
chrome-headless-render-pdf --url file:///tmp/example.html --pdf test.pdf --display-header-footer --header-template '<style type="text/css">
.header {
background-image: url("https://homepages.cae.wisc.edu/~ece533/images/airplane.png")
background-size: cover;
height: 500px;
width: 100%;
}
</style>
'
The text was updated successfully, but these errors were encountered:
I tried also but image loading doesn't seem to work. However, this is likely Chrome browser problem. The chrome-headless-render-pdf.js just passes user defined header and footer to Chrome.
Attached the bash script. Pasting the text didn't work properly.
This is my pdf create command. But, the image was not loading
'chrome-headless-render-pdf --url file:///tmp/example.html --pdf test.pdf --display-header-footer --header-template '<style type="text/css">
.header {
background-image: url("https://homepages.cae.wisc.edu/~ece533/images/airplane.png")
background-size: cover;
height: 500px;
width: 100%;
}
</style>
The text was updated successfully, but these errors were encountered: