Skip to content
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

Error loading <img> #444

Closed
ghost opened this issue Sep 18, 2014 · 3 comments
Closed

Error loading <img> #444

ghost opened this issue Sep 18, 2014 · 3 comments

Comments

@ghost
Copy link

ghost commented Sep 18, 2014

Cant get it to work..
Background image is caputerd, but no other images.
I try to capture a div /w unorder list and images in its listitems.

html2canvas: Preload starts: finding background-images html2canvas.js:21
html2canvas: Preload: Finding images html2canvas.js:21
html2canvas: Preload: Done. html2canvas.js:21
html2canvas: start: images: 0 / 0 (failed: 0) html2canvas.js:21
Finished loading images: # 0 (failed: 0) html2canvas.js:21
html2canvas: Error loading :http://mydomain.de/cms_neu/content/modulart/img/confetti.jpg html2canvas.js:21
html2canvas: Renderer: Canvas renderer done - returning canvas obj

@brcontainer
Copy link
Contributor

Same origin or no?

if the image is in a different domain, then:
Read the DOC: https://github.com/niklasvh/html2canvas/blob/master/readme.md

Note: whenever you start using a new code and a failure occurs refer to the documentation before anything.

Read:
#397
#145

@ghost
Copy link
Author

ghost commented Sep 19, 2014

Thank you #145 helped me.

@ghost ghost closed this as completed Sep 19, 2014
@NikhilRadadiya
Copy link

@brcontainer IF I want to use php proxy where to put that html2canvasproxy.php file?. I'm using html2canvas with Angular2

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants