Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2018-05-19 17:25:38

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

FF and img rendering

On FF many img tags do not load properly as the platforms link to them by omitting the http(s) part… The cargo collective platform is one of them.
This page for example loads the image in all my other browsers but FF.

I also noticed similar kind of linking with javascript… ie <script src="//site.tld/js/script.js"></script>. Could somebody shed a light on this? W3 validator accepts this method but not FF.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#2 2018-05-19 19:27:22

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,259
GitHub

Re: FF and img rendering

colak wrote #311897:

This page for example loads the image in all my other browsers but FF.

Hmm – seems OK here, you want screenshots of what I can see here on Firefox Quantum?

Offline

#3 2018-05-19 20:35:34

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,379
Website GitHub Mastodon

Re: FF and img rendering

colak wrote #311897:

On FF many img tags do not load properly as the platforms link to them by omitting the http(s) part… The cargo collective platform is one of them.

I just checked with FF 59 on Ubuntu. Works fine for me.

Offline

#4 2018-05-20 00:32:31

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,190
Website

Re: FF and img rendering

colak wrote #311897:

On FF many img tags do not load properly as the platforms link to them by omitting the http(s) part… The cargo collective platform is one of them.
This page for example loads the image in all my other browsers but FF.

I also noticed similar kind of linking with javascript… ie <script src="//site.tld/js/script.js"></script>. Could somebody shed a light on this? W3 validator accepts this method but not FF.

Weird. As others have mentioned, the images load for me on that site (and I often uses that syntax without problem).

Check the browser console to see if it throws any message; perhaps a plugin/extension is interfering with that page?


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#5 2018-05-20 07:15:37

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: FF and img rendering

Hmmm, I did check the console which prompted me to also check my about:config which is where I blocked such urls, as I read some time ago that they posed some security issues…


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#6 2018-05-20 10:30:15

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,726
Website

Re: FF and img rendering

FWIW: the links are fine for me too on FF.

colak wrote #311907:

Hmmm, I did check the console which prompted me to also check my about:config which is where I blocked such urls, as I read some time ago that they posed some security issues…

AFAIK the main reason for //… links is so that the links function correctly on http:// and https:// without needing correction. The only ‘problem’ I’ve had with them, is that when run locally from an .html file, they produce file://… links instead of http://… links. Not sure about the security issues.


TXP Builders – finely-crafted code, design and txp

Offline

Board footer

Powered by FluxBB