{"action":"created","issue":{"url":"https://api.github.com/repos/KnpLabs/KnpSnappyBundle/issues/82","labels_url":"https://api.github.com/repos/KnpLabs/KnpSnappyBundle/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/KnpLabs/KnpSnappyBundle/issues/82/comments","events_url":"https://api.github.com/repos/KnpLabs/KnpSnappyBundle/issues/82/events","html_url":"https://github.com/KnpLabs/KnpSnappyBundle/issues/82","id":57731325,"number":82,"title":"Images and CSS not working","user":{"login":"mathieumuller","id":9530363,"avatar_url":"https://avatars.githubusercontent.com/u/9530363?v=3","gravatar_id":"","url":"https://api.github.com/users/mathieumuller","html_url":"https://github.com/mathieumuller","followers_url":"https://api.github.com/users/mathieumuller/followers","following_url":"https://api.github.com/users/mathieumuller/following{/other_user}","gists_url":"https://api.github.com/users/mathieumuller/gists{/gist_id}","starred_url":"https://api.github.com/users/mathieumuller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathieumuller/subscriptions","organizations_url":"https://api.github.com/users/mathieumuller/orgs","repos_url":"https://api.github.com/users/mathieumuller/repos","events_url":"https://api.github.com/users/mathieumuller/events{/privacy}","received_events_url":"https://api.github.com/users/mathieumuller/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-15T14:06:30Z","updated_at":"2015-09-21T08:32:09Z","closed_at":null,"body":"Hi there, \r\nI have a problem generating PDF including css files and images. I tried a lot of things, like giving absolutes pathes to the files with asset option \"absolute = true\", I installed wkhtmltopdf with apt-get or compiled versions using xfvb. Always the same result! My twig template displays images and css but not the generated pdf file. Now  I installed wkhtmltox 0.12.2.1 in usr/local/bin and have a debian wheezy installation on a VM hosted on windows. Is there something to do with rights/authorizations? One more precision, before that I had a Ubuntu installation on VM and everything worked like a charm. I am wondering if it has something to do with that : on ubuntu I launched my browser on the same machine which was executing the code. Now with Debian, My browser is on windows and the code is executed by my debian vm server. Sorry for my english I hope it was comprehensible and thanks by advance for your help..."},"comment":{"url":"https://api.github.com/repos/KnpLabs/KnpSnappyBundle/issues/comments/141908150","html_url":"https://github.com/KnpLabs/KnpSnappyBundle/issues/82#issuecomment-141908150","issue_url":"https://api.github.com/repos/KnpLabs/KnpSnappyBundle/issues/82","id":141908150,"user":{"login":"bertrandg","id":7031941,"avatar_url":"https://avatars.githubusercontent.com/u/7031941?v=3","gravatar_id":"","url":"https://api.github.com/users/bertrandg","html_url":"https://github.com/bertrandg","followers_url":"https://api.github.com/users/bertrandg/followers","following_url":"https://api.github.com/users/bertrandg/following{/other_user}","gists_url":"https://api.github.com/users/bertrandg/gists{/gist_id}","starred_url":"https://api.github.com/users/bertrandg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bertrandg/subscriptions","organizations_url":"https://api.github.com/users/bertrandg/orgs","repos_url":"https://api.github.com/users/bertrandg/repos","events_url":"https://api.github.com/users/bertrandg/events{/privacy}","received_events_url":"https://api.github.com/users/bertrandg/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T08:32:09Z","updated_at":"2015-09-21T08:32:09Z","body":"thx @mathieumuller, you solution works!\r\nI've read about using absolute urls but it was not working for me too.."}}