{"action":"opened","issue":{"url":"https://api.github.com/repos/luis-almeida/unveil/issues/110","repository_url":"https://api.github.com/repos/luis-almeida/unveil","labels_url":"https://api.github.com/repos/luis-almeida/unveil/issues/110/labels{/name}","comments_url":"https://api.github.com/repos/luis-almeida/unveil/issues/110/comments","events_url":"https://api.github.com/repos/luis-almeida/unveil/issues/110/events","html_url":"https://github.com/luis-almeida/unveil/issues/110","id":145809156,"number":110,"title":"Unveil to work on Print event","user":{"login":"michelelelilin","id":18060053,"avatar_url":"https://avatars.githubusercontent.com/u/18060053?v=3","gravatar_id":"","url":"https://api.github.com/users/michelelelilin","html_url":"https://github.com/michelelelilin","followers_url":"https://api.github.com/users/michelelelilin/followers","following_url":"https://api.github.com/users/michelelelilin/following{/other_user}","gists_url":"https://api.github.com/users/michelelelilin/gists{/gist_id}","starred_url":"https://api.github.com/users/michelelelilin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michelelelilin/subscriptions","organizations_url":"https://api.github.com/users/michelelelilin/orgs","repos_url":"https://api.github.com/users/michelelelilin/repos","events_url":"https://api.github.com/users/michelelelilin/events{/privacy}","received_events_url":"https://api.github.com/users/michelelelilin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-04T21:25:13Z","updated_at":"2016-04-04T21:25:13Z","closed_at":null,"body":"I'd like to be able to print webpages with the lazyloaded images without having to scroll all the way down to load them first – my understanding is that this can be done by triggering unveil with \"window.onbeforeprint,\" though it is not well supported... \r\n\r\nhere's the code I have:\r\n\r\n```\r\nvar mediaQueryList = window.matchMedia('print');\r\n    mediaQueryList.addListener(function(mql) {\r\n    if (mql.matches) {\r\n        $(\"img\").trigger(\"unveil\");\r\n    } else {\r\n        window.onbeforeprint = function () { \r\n            $(\"img\").trigger(\"unveil\");\r\n        }\r\n    }\r\n  });\r\n```\r\n\r\nStill not seeing all the images on the print screen, though. Any ideas on how to get unveil to work for printing?\r\n"}}