Conversation
supportHello, Images are not display when printing pages. Can I turn off the plugin to print pages? The plug-in is great, but I need to create a printing-friendly website.
Hi @medovina cannot you just add skip class to page you want to print?
Hi, thanks for the reply. Are you planning to disable the lazy-load function for css rules “@media print” in a future update? I need the whole web to be printer-friendly, and that’s not because most unread images won’t print. Thank you again and have a nice day!
Could be done with JavaScript… https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onbeforeprint Does skip class apply to all children? So if I put it on <body> it’ll skip all lazy loading? And would adding the skip class dynamically do anything? Not currently, right? Not entirely sure if it would be worth the effort to implement it… but I guess on print you would want lazy loading to be turned off – assuming you want to print images at all.
Hi @medovina cannot you just add skip class to page you want to print?
Hi, thanks for the reply. Are you planning to disable the lazy-load function for css rules “@media print” in a future update? I need the whole web to be printer-friendly, and that’s not because most unread images won’t print. Thank you again and have a nice day!
Could be done with JavaScript… https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onbeforeprint Does skip class apply to all children? So if I put it on <body> it’ll skip all lazy loading? And would adding the skip class dynamically do anything? Not currently, right? Not entirely sure if it would be worth the effort to implement it… but I guess on print you would want lazy loading to be turned off – assuming you want to print images at all.