I have used html2canvas.js
in my project for convert my element(body) into canvas and then convert canvas to image.
My element contains images that load from cross domain.
Canvas create from element is working perfectly, but when try to canvas.toDataURL("image/png");
it gives error SecurityError: The operation is insecure
Please help me to solve this issue.
canvas.toDataURL("image/png");
is working fine when image not load from cross domain.
Thanks in advance.