wkhtmltopdf-binary-edge
wkhtmltopdf-binary-edge copied to clipboard
Https image not loading in pdf
In my html i have used an image from amazon s3 server (using the absolute path) which in turns displays no image. But if i use address of a known absolute address with http it works like a charm
hello...could you post some codes? wkhtmltopdf doesn't work very well with remote resources - could you try to download it on you server and encode it to base64?
I've been hitting this issue too, so I'm guessing it's not fixed. The problem appears to be on sites that are not SSL, but have images that are.
Example:
wkhtmltopdf --javascript-delay 30000 http://blog.coredumped.org/2016/08/converting-old-mac-pro-into-lockable.html images.pdf
Results in:
Loading pages (1/6)
Warning: SSL error ignored
Warning: SSL error ignored
Warning: SSL error ignored
Warning: SSL error ignored
Warning: SSL error ignored
Warning: SSL error ignored
Warning: SSL error ignored
Warning: SSL error ignored
Warning: SSL error ignored
Warning: SSL error ignored
Warning: SSL error ignored
Warning: SSL error ignored
....
After everything is done, the PDF is available, but without most of the images.
Any news on this?
Hello,
this is likely a wkhtmltopdf
issue. I'd recommend opening a ticket over there: https://github.com/wkhtmltopdf/wkhtmltopdf
wkhtmltopdf-binary-edge
is just a wrapper that invokes the wkthmltopdf executables.
P