jsPDF
jsPDF copied to clipboard
How to add images from a web url?
How to add images from a web url?
For example url = 'http://www.w3schools.com/css/trolltunga.jpg'
Thank you
This is not a jsPDF issue. You try to load a file from a different server. You need to allow the browser to load data from a different server by sending the right HTTP-headers. I think the correct one is Access-Control-Allow-Origin
Check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS
@MrRio Should be closed ;)