royibernthal Posted June 9, 2017 Share Posted June 9, 2017 http://www.babylonjs-playground.com/#XCPP9Y#89 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted June 10, 2017 Share Posted June 10, 2017 This is a html5 canvas limitation. You have to host the pictures on the same server as your page Quote Link to comment Share on other sites More sharing options...
royibernthal Posted June 10, 2017 Author Share Posted June 10, 2017 Oh ok. Any idea how I can use my images in the PG? I need my own image to reproduce something. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted June 10, 2017 Share Posted June 10, 2017 Try on http://imgur.com/ perhaps. I guess they don't have CORS Quote Link to comment Share on other sites More sharing options...
aWeirdo Posted June 11, 2017 Share Posted June 11, 2017 or just base64 it' http://www.babylonjs-playground.com/#KU0JCD GameMonetize and royibernthal 2 Quote Link to comment Share on other sites More sharing options...
royibernthal Posted June 11, 2017 Author Share Posted June 11, 2017 13 hours ago, Deltakosh said: Try on http://imgur.com/ perhaps. I guess they don't have CORS http://www.babylonjs-playground.com/#XCPP9Y#92 Same. My server is allowing CORS as well, does it matter or will it happen regardless with canvas in any case? @aWeirdo That's a nice idea Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted June 11, 2017 Share Posted June 11, 2017 Yeah..actually it is more than cors You need to provide a same origin image (not my fault :)) royibernthal 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.