Images Not Appearing in Chrome and Firefox

天大地大妈咪最大 提交于 2020-01-04 14:03:44

问题


I've tried searching on the web including Stack Overflow and haven't found a solution.

So I just finished developing a website on Mac and it looks fine on Chrome, Firefox, and Safari.

When I go to use Windows, everything shows up fine in Internet Explorer, but not on Chrome and Firefox. Some images don't load in Chrome and Firefox only on PC!

I inspected the elements with both browsers and it looks fine.

Here is the code:

<table>
    <tr>
        <td><a href="https://www.facebook.com/appenze"><img style ="height:130px;width:130px;margin-right:-20px;" src="images/facebook_old.png" /></a></td>
        <td><a href="https://plus.google.com/+Appenze/"><img class ="social-media-pic" src="images/GooglePlus-Logo-02.png" /></a></td>
        <td><a href="http://www.linkedin.com/company/appenze-technologies"><img class ="social-media-pic" src="images/transparent-Linkedin-logo-icon.png" /></a></td>
        <td><a href="https://twitter.com/appenze"><img class ="social-media-pic" src="images/twitter-icon-square.png" /></a></td>
    </tr>
</table>

The images are all in PNG format and in RGB color. They're all 16-bit images. The only image that loads is "transparent-Linkedin-logo-icon.png".

What is going on with Chrome and Firefox on Windows? The version of Windows I'm using is Windows 8.1.

By the way, here is a link to the JSFiddle page with all the code: http://jsfiddle.net/57y3J/

Lastly, the website is live. Here is the link to the problem page if you guys want to test it: http://www.appenze.com/social.html

UPDATE

This problem only seems to be happening for Chrome and Firefox on Windows while running the "Adblock Plus" extension.

I am running Adblock Plus on both Chrome and Firefox on Mac and the images appear normally. I also have Adblock Plus installed on Internet Explorer on my PC and the images are still loading properly.


回答1:


You guys are going to laugh when you read this.

I've solved the image loading problem. When I disable the "Adblock Plus" extension that run in both the browsers and refresh the page, the images appear normally.

This problem only seems to be happening for Chrome and Firefox on Windows. I am running Adblock Plus on both Chrome and Firefox on Mac and the images appear normally. I also have Adblock Plus installed on Internet Explorer on my PC and the images are still loading properly.

I still don't know how to fix this for people that are using the Adblock Plus extension though.



来源:https://stackoverflow.com/questions/23165141/images-not-appearing-in-chrome-and-firefox

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