failed crossOrigin Access for canvas toDataUrl

前端 未结 2 347
情书的邮戳
情书的邮戳 2021-01-14 04:33

I wanna create a litte page where people can create a kaleidoscope. I use an available script and added some image browse and Save-Funktionality. Now I have a weird problem

2条回答
  •  一整个雨季
    2021-01-14 05:29

    The .htaccess entry on the server where the images come from has to be:

    Header add Access-Control-Allow-Origin "*"
    

提交回复
热议问题