-
-
Notifications
You must be signed in to change notification settings - Fork 454
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
Images do not load under Chrome when internet is slow #215
Comments
Having the same issue. Is there any update regarding this? |
The issue is related to timing. You can increase the |
Just a guess, would it be possible to print the images without reloading them? |
@patrickhrastnik - it's because of how printThis works. It creates an iframe, writes content to that iframe, and then prints the iframe. Those images have to load when being written to the new iframe. |
for now I use
|
While the pictures are visible in the website, the print preview leaves them out when the network connection is slow.
This happens only under Chromium-based browsers (no issue with Firefox and IE)
If you go to the demo website: https://jasonday.github.io/printThis/#demos
Change browser settings in DevTools > Network > set speed from Online to Slow 3G
Press 'PRINT CONTAINER' or 'PRINT KITTENS' buttons
The images have disappeared from the preview.
In the DevTools network tab when recording network log, it is also visible that the pictures are not fully loaded.
The text was updated successfully, but these errors were encountered: