IE不会显示png图像 [英] IE doesn't display png images

查看:123
本文介绍了IE不会显示png图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Internet Explorer(与8、9、10、11无关)不会显示我网站的任何png图像. (www.oenomarketing.de)它仅显示叉号和alt文本. png可以在Chrome和Firefox中使用. IE确实会显示其他网站的png图像. 这是一个基于Bootstrap 2主题的WordPress网站,我在另一个主题(Divi)下运行的另一个站点的确显示了无障碍的png.因此,它必须与我的WP主题有关.

Internet Explorer (doesn't matter if 8, 9, 10, 11) won't display any png images of my website. (www.oenomarketing.de) It only shows a cross and the alt text. The pngs work in Chrome and Firefox. IE does display the png images of other websites. It is a WordPress Website with a Theme based on Bootstrap 2. Another Site I run with another Theme (Divi) does display the pngs without a porlem. So it must be related to my WP-Theme.

更新 如果我打开网站的本地版本(DesktopServer),它将在IE中显示png.只是实时版本正在制造麻烦.

Update If I open the local Version (DesktopServer) of the Website it displays the pngs in IE. Just the live Version is making trouble.

推荐答案

因为http标头中文件的内容类型错误.

Because the content-type of the file in the http header is wrong.

这篇关于IE不会显示png图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆