wkhtmltopdf-binary-edge icon indicating copy to clipboard operation
wkhtmltopdf-binary-edge copied to clipboard

Https image not loading in pdf

Open joshianuj opened this issue 9 years ago • 4 comments

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

joshianuj avatar Jul 07 '15 05:07 joshianuj

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?

pallymore avatar Jul 07 '15 13:07 pallymore

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.

kopertop avatar Sep 21 '16 12:09 kopertop

Any news on this?

knightq avatar Jan 15 '18 11:01 knightq

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

pallymore avatar Jan 15 '18 14:01 pallymore