Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firefox says "Could Not Load Image" for some images, adds weird classes automatically

Tags:

I've tried several times and several ways, but can't figure this out. The below set of images load perfectly in non-firefox browsers, but ALL of them are invisible in firefox. If I bring up the document inspector and hover the mouse over the url, the images pop up for only google and email (which are the only two that don't have that weird class on them).

So I guess the question is: why is firefox adding a weird class to my images (just these, all others on the page work fine) and why don't any of them show up in this area?

   <div id="share_icons">             <img class="gknwrycuvfcesykaisun" src="http://localhost:80/graphics/share/facebook.png" id="share_facebook">             <img src="http://localhost:80/graphics/share/google.png" id="share_google">             <img class="gknwrycuvfcesykaisun" src="http://localhost:80/graphics/share/pinterest.png" id="share_pinterest">             <img class="gknwrycuvfcesykaisun" src="http://localhost:80/graphics/share/tumblr.png" id="share_tumblr">             <img class="gknwrycuvfcesykaisun" src="http://localhost:80/graphics/share/twitter.png" id="share_twitter">             <img src="http://localhost:80/graphics/share/email.png" id="share_email" pop="Send a link to this list to friends via e-mail. <b>Note:</b> recipients must already be users of the site or your view settings must allow public views for them to see it!">         </div> 

Here is the calculated CSS of the #share_icons area:

#share_icons { width: 150px; text-align: center; margin-left: auto; margin-right: auto; } * { border: 0px none; margin: 0px; padding: 0px; font: inherit; vertical-align: baseline; -moz-box-sizing: border-box; } 

Another thing I noticed, when I click on any of the images in this area, the pop up box for the inspector which usually hovers over the element where it is on the page is at the top left of the screen as if the images are all off screen somewhere.

Already tried clearing the cache completely. Also tried manually loading the image urls in Firefox and the images load and display fine if I do this. I've also moved the image tags to other places on the page to make sure this isn't a nested CSS thing.

like image 646
not_a_generic_user Avatar asked Apr 13 '14 05:04

not_a_generic_user


2 Answers

Sorry to jump in so quickly, but I noticed something odd and FINALLY discovered the reason. Adblock was blocking the images most likely because I had accidentally clicked it and filtered it out.

I'll leave this question because it may be helpful to others.

like image 151
not_a_generic_user Avatar answered Sep 27 '22 22:09

not_a_generic_user


Disable AdBlock for that current page you load. Image gets displayed after refresh. I just tried it and it is working.

like image 33
Ejilarasan J Avatar answered Sep 27 '22 21:09

Ejilarasan J