{"action":"created","issue":{"url":"https://api.github.com/repos/niklasvh/html2canvas/issues/103","repository_url":"https://api.github.com/repos/niklasvh/html2canvas","labels_url":"https://api.github.com/repos/niklasvh/html2canvas/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/niklasvh/html2canvas/issues/103/comments","events_url":"https://api.github.com/repos/niklasvh/html2canvas/issues/103/events","html_url":"https://github.com/niklasvh/html2canvas/issues/103","id":4853650,"number":103,"title":"capturing images and canvas with loaded images from other origin","user":{"login":"chloeng","id":1804228,"avatar_url":"https://avatars2.githubusercontent.com/u/1804228?v=4","gravatar_id":"","url":"https://api.github.com/users/chloeng","html_url":"https://github.com/chloeng","followers_url":"https://api.github.com/users/chloeng/followers","following_url":"https://api.github.com/users/chloeng/following{/other_user}","gists_url":"https://api.github.com/users/chloeng/gists{/gist_id}","starred_url":"https://api.github.com/users/chloeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chloeng/subscriptions","organizations_url":"https://api.github.com/users/chloeng/orgs","repos_url":"https://api.github.com/users/chloeng/repos","events_url":"https://api.github.com/users/chloeng/events{/privacy}","received_events_url":"https://api.github.com/users/chloeng/received_events","type":"User","site_admin":false},"labels":[{"id":659760,"url":"https://api.github.com/repos/niklasvh/html2canvas/labels/Question","name":"Question","color":"02d7e1","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2012-06-01T09:31:23Z","updated_at":"2018-03-05T20:27:53Z","closed_at":"2012-06-07T10:42:23Z","author_association":"NONE","body":"Hi Niklas,\n\nThank you so much for such wonderful code. It is such a great tool to solve my scenario. It worked fine in the beginning during local testing, but I encountered some issues while trying to deploy to our development server. The issues are:\n1. Need a proxy to access content from other domain/origin: I solved this by creating my own Java proxy (converted from the Python code). Seems to be working fine for images with <img> tag.\n2. Encountered this issue for <canvas> elements in my code which contains images loaded from other domain: [Unable to get image data from canvas because the canvas has been tainted by cross-origin data]. Is it due to the fact that the canvas element in my code contains drawn images from other domain/origin? Can this be solved? I have tried to set the header for \"Access-Control-Allow-Origin\" but seems like this won't solve the issue.\n\nHave been searching for the solution for Issue 2 online for days but to no avail.\n\nHopefully you can enlighten me with a solution for this.\n\nThanks a lot.\n"},"comment":{"url":"https://api.github.com/repos/niklasvh/html2canvas/issues/comments/370553651","html_url":"https://github.com/niklasvh/html2canvas/issues/103#issuecomment-370553651","issue_url":"https://api.github.com/repos/niklasvh/html2canvas/issues/103","id":370553651,"user":{"login":"shenzhuxi","id":585720,"avatar_url":"https://avatars2.githubusercontent.com/u/585720?v=4","gravatar_id":"","url":"https://api.github.com/users/shenzhuxi","html_url":"https://github.com/shenzhuxi","followers_url":"https://api.github.com/users/shenzhuxi/followers","following_url":"https://api.github.com/users/shenzhuxi/following{/other_user}","gists_url":"https://api.github.com/users/shenzhuxi/gists{/gist_id}","starred_url":"https://api.github.com/users/shenzhuxi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shenzhuxi/subscriptions","organizations_url":"https://api.github.com/users/shenzhuxi/orgs","repos_url":"https://api.github.com/users/shenzhuxi/repos","events_url":"https://api.github.com/users/shenzhuxi/events{/privacy}","received_events_url":"https://api.github.com/users/shenzhuxi/received_events","type":"User","site_admin":false},"created_at":"2018-03-05T20:27:53Z","updated_at":"2018-03-05T20:27:53Z","author_association":"NONE","body":"I tried to render a html with images in filesystem, and found \"html2canvas: Finished loading 0 images\" in the logs. \r\nAre they considered cross-origin data, though they have the same base URL like filesystem:http://localhost:8080?"}}
{"actor":{"display_login":"shenzhuxi"}}