Skip to content
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

Https image not loading in pdf #4

Open
joshianuj opened this issue Jul 7, 2015 · 4 comments
Open

Https image not loading in pdf #4

joshianuj opened this issue Jul 7, 2015 · 4 comments

Comments

@joshianuj
Copy link

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
Copy link
Owner

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
Copy link

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
Copy link

knightq commented Jan 15, 2018

Any news on this?

@pallymore
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants