pallymore / wkhtmltopdf-binary-edge

this is forked from tolgap/wkhtmltopdf-binary .
MIT License
74 stars 33 forks source link

Https image not loading in pdf #4

Open joshianuj opened 9 years ago

joshianuj commented 9 years ago

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

pallymore commented 9 years ago

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?

kopertop commented 8 years ago

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.

knightq commented 6 years ago

Any news on this?

pallymore commented 6 years ago

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