html2canvas:Error loading image

See original GitHub issue
case 7:
 e_1 = _b.sent();
 Logger.getInstance(this.options.id).error("Error loading image " + container.src);
  return [3 /*break*/, 8];

The project uses html2canvas. js, which is very powerful, but there is a user avatar that sometimes does not exist. Check the print log error Error loading image, what is the reason?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

5reactions
zyc95commented, Nov 7, 2019

below iOS 10.2.x will report the error: Error loading image data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPoAAAD6CAYAAACI7Fo9AAAAAXNSR0IArs4c6QAAD1xJREFUeAHtnYFqHUsOBeMl///LXg+swc…

4reactions
wenyiwebcommented, Jan 20, 2020

you can use the version 0.5.0-beta4.this version is ok.

Read more comments on GitHub >

github_iconTop Results From Across the Web

JS: html2Image returns "Error loading Image" - Stack Overflow
I was able to fix it and also download the content like so: html2canvas(document.querySelector("#qrKIK")).then(canvas => { //document.body.
Read more >
Error loading image #2609 - niklasvh/html2canvas - GitHub
html2canvas is working on my macos, but it's not work in my iphone 11 ios 14.4. Error message "Error loading background-image" "Error loading...
Read more >
html2canvas loading issue when saving the image - SitePoint
I am using the following code to save the content of div (image and text) as an image using html2canvas. Here I am...
Read more >
HTML2CANVAS BACKGROUND IMAGE ISSUE - CodePen
Insecure Resource. The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https....
Read more >
Options - html2canvas
Name Default Description logging true Enable logging for debug purposes width Element width The width of the canvas height Element height The height of the canvas...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found