Page MenuHomePhabricator

Force load all images before printing when lazy-loading of images is enabled
Closed, DuplicatePublic

Description

When images are lazy-loaded, printing the page results in a document with missing images because some images may not have been loaded. Use [[ https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onbeforeprint | onbeforeprint ]] to detect whether a page is being printed. If yes, then force load images.

Event Timeline

bmansurov renamed this task from Force loading all images before printing when Lazy-loading of images is enabled to Force load all images before printing when Lazy-loading of images is enabled.May 9 2016, 9:13 PM
bmansurov renamed this task from Force load all images before printing when Lazy-loading of images is enabled to Force load all images before printing when lazy-loading of images is enabled.