Firefox not displaying images

User Help for Mozilla Firefox
Post Reply
unrealliving
Posts: 2
Joined: December 30th, 2012, 8:36 am

Firefox not displaying images

Post by unrealliving »

Hello to everyone, I can't figure out why Firefox is not displaying some images. The Edge, the Chrome loads this site without a problem.
Does anyone deal with the same problem?
For example there is a link for the site, it's official from ASUS company. https://www.asus.com/support/FAQ/1037906/
TheVisitor
Posts: 5469
Joined: May 13th, 2012, 10:43 am

Re: Firefox not displaying images

Post by TheVisitor »

Does not display on latest Nightly, does however like you said work in Edge...
User avatar
Snake4
Posts: 1841
Joined: December 27th, 2017, 4:03 am
Location: Australia

Re: Firefox not displaying images

Post by Snake4 »

i can confirm the Bug.

just wonder if its Google playing Manopoly with there browsers
User avatar
dickvl
Posts: 54145
Joined: July 18th, 2005, 3:25 am

Re: Firefox not displaying images

Post by dickvl »

The images are blocked due to CSP rules as you can see in the Web Console.

Code: Select all

Content Security Policy: The page’s settings blocked the loading of a resource at http://kmpic.asus.com/images/2018/11/01/02e9ffac-4ffb-4eee-b72e-9ba685fa8516.jpg (“default-src”). main.js:13:49522
Content Security Policy: The page’s settings blocked the loading of a resource at http://kmpic.asus.com/images/2018/11/01/49d1d238-1907-46fe-92f2-8c14e665c121.jpg (“default-src”).
Looks like it is caused by the http:// links.
Is works if I change this to secure https:// links

Possible bookmarklet:

Code: Select all

javascript:void(document.querySelectorAll('img[src^="http://"').forEach(e=>{e.setAttribute('src',unescape(e.getAttribute('src')).replace(/^http:/,'https:'))}))
User avatar
BruceAWittmeier
Posts: 3076
Joined: June 9th, 2008, 10:53 am
Location: Near 37.501685 -80.147967

Re: Firefox not displaying images

Post by BruceAWittmeier »

I copied the link then edited to add the s in https and pasted just that part to the URL and it looks like it works. It shows https from the Google search but only http for the query portion.

Clarify the site is https and the missing image is http. Manually add the s and it shows.
I often take a long windy road to my destination. Upon arrival, I wonder how I missed the shortcut.
User avatar
therube
Posts: 21703
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Re: Firefox not displaying images

Post by therube »

You can also right-click, 'Open image in new tab' in which case (I suppose) it looses its "special security" status, so, just opens.
(Go figure.)

https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP


(Oh, you know there are probably some very good reasons why they do what they do.
But for average joe, you just want something that works instead of hinders.)
Fire 750, bring back 250.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
User avatar
jscher2000
Posts: 11742
Joined: December 19th, 2004, 12:26 am
Location: Silicon Valley, CA USA
Contact:

Re: Firefox not displaying images

Post by jscher2000 »

I'm a little puzzled why CSP is kicking in here even when I have

security.mixed_content.upgrade_display_content => true

in about:config. In theory, Firefox should be trying HTTPS. Maybe this stopped working recently?
User avatar
therube
Posts: 21703
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Re: Firefox not displaying images

Post by therube »

I'll just note that neither SeaMonkey nor FF 78 (nor Pale Moon) give any clues that there are images on that page.

Also note that while the site source shows multiple http: (image) links (all that fail to open in FF 103), when you "open in new tab", they load as https:.
Fire 750, bring back 250.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
TheVisitor
Posts: 5469
Joined: May 13th, 2012, 10:43 am

Re: Firefox not displaying images

Post by TheVisitor »

therube wrote:I'll just note that neither SeaMonkey nor FF 78 (nor Pale Moon) give any clues that there are images on that page.

Also note that while the site source shows multiple http: (image) links (all that fail to open in FF 103), when you "open in new tab", they load as https:.

Not here on latest Nightly... I had to edit the url in a new tab to https to get image to load.
Nightly: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:105.0) Gecko/20100101 Firefox/105.0
I do not have always use 'https' enabled... not sure if that would make a difference.
User avatar
jscher2000
Posts: 11742
Joined: December 19th, 2004, 12:26 am
Location: Silicon Valley, CA USA
Contact:

Re: Firefox not displaying images

Post by jscher2000 »

therube wrote:I'll just note that neither SeaMonkey nor FF 78 (nor Pale Moon) give any clues that there are images on that page.
I wonder whether there is a preference to suppress "broken image" placeholders (I see them in a new profile, so I think they appear by default).
unrealliving
Posts: 2
Joined: December 30th, 2012, 8:36 am

Re: Firefox not displaying images

Post by unrealliving »

It's very nice, that I got response form all of you. Now I understand that I do not need to re-install again and again firefox :) But as I understand I need to use some codding to show that images. So my question would be how to do it permanent? Is it possible to add somewhere in CSS stile as the default rule to fix that problem (because there are more sites which sometimes does not display images) or maybe I can turn off some Firefox security options, that I always get displayed the images? It's really strange why other browsers can display with it's default settings...
Thanks again to everyone who is trying or checking that issue.
TheVisitor
Posts: 5469
Joined: May 13th, 2012, 10:43 am

Re: Firefox not displaying images

Post by TheVisitor »

jscher2000 wrote:
therube wrote:I'll just note that neither SeaMonkey nor FF 78 (nor Pale Moon) give any clues that there are images on that page.
I wonder whether there is a preference to suppress "broken image" placeholders (I see them in a new profile, so I think they appear by default).
Weird, I just created a new virgin profile and I don't see the images. I'm on Nightly version 105 FWIW. Can't help but think the 'site' needs to 'fix' its image host to get rid of the 'http'.
User avatar
therube
Posts: 21703
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Re: Firefox not displaying images

Post by therube »

Fire 750, bring back 250.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
User avatar
therube
Posts: 21703
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Re: Firefox not displaying images

Post by therube »

Fire 750, bring back 250.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
Post Reply