some png images not load in IE10

允我心安 提交于 2019-12-04 22:04:33

So I was having this error as well and my fix was very obnoxious. PNG and JPG files are very similar, in fact they are so similar that you can simply change the file extension and most image viewers and browsers can render the image properly.

My problem was that I had some native .png and a single native .jpg. For some reason we decided that we wanted all of the files to .png so we simply changed the .jpg extension to a .png extension instead of saving the image properly in say photoshop. This worked great as almost every browser was able to decipher what was going on except for of course IE. This was causing some great confusion amongst our team members until we found out what happened.

I would try to open the image that is failing in PS and save it as .png. This is what fixed our problem.

Hope it helps

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!