# IE11 Security Error - gl.texImage2D()

**URL:** <https://phaser.discourse.group/t/ie11-security-error-gl-teximage2d/4400>\
**Category:** Phaser 3\
**Created:** [November 28, 2019, 6:09pm UTC](https://phaser.discourse.group/t/ie11-security-error-gl-teximage2d/4400 "2019-11-28T18:09:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pixelguy](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/pixelguy/32/806_2.png) [@Pixelguy](https://phaser.discourse.group/u/Pixelguy)\
**Post date:** [November 28, 2019, 6:09pm UTC](https://phaser.discourse.group/t/ie11-security-error-gl-teximage2d/4400/1 "2019-11-28T18:09:37Z")

</div>

I’m using a bunch of SVGs in my project and IE11 does not seem to be happy about that:

 ![03](https://global.discourse-cdn.com/free1/uploads/phaser1/original/2X/5/5ebd4d023437bff33b4906b6b5d2a87f5256e709.png)

The only results searching for this issue releated to `gl.texImage2d` are CORS - Cross-Origin Resource Sharing related. But in this case it really does’t make any sense.

I’m using phaser 3.21.0 with webpack, so all request are coming from `localhost` or inline as `data:image/png;base64,...`  
Replacing all the images with PNG placeholders is working, so it really has to do something with svgs being used. (Replacing all images with PNG is no option in my project.)

Any ideas what else might be the problem here? 🤔

---

<div class="post-metadata">

**Author:** ![Pixelguy](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/pixelguy/32/806_2.png) [@Pixelguy](https://phaser.discourse.group/u/Pixelguy)\
**Post date:** [November 28, 2019, 6:56pm UTC](https://phaser.discourse.group/t/ie11-security-error-gl-teximage2d/4400/2 "2019-11-28T18:56:09Z")

</div>

This seems to be the deepest dive into the issue I could find:

> <https://github.com/pixijs/pixi.js/issues/4073>
>
> @englercj: I'm having issues rendering textures from a dataURI in IE 11 and Edge. Creating a texture from a png works...

  
Looks like IE11 views the canvas as tainted when drawing svg source? 🤔
