Permlink Replies: 4 - Pages: 1 - Last Post: 21-Feb-2017 18:45 Last Post By: jGromit
AnCa

Posts: 604
Registered: 25-Mar-2005
Https now available for albums hosted here
Posted: 21-Feb-2017 17:04
  Click to reply to this thread Reply
I have now made it possible to load an album using https if it is hosted here, for example https://anca.jalbum.net/Sample%20Portfolio/ .
So skin developers might now want to make sure that all external resources are loaded using https, for example jQuery files. (And using https becomes more and more common also for users having their own website, so making the skin support https is a good idea anyway.)

I will possibly also enable https for the jalbum.net-site very soon. Currently you can load the profile using https (https://anca.jalbum.net/) but you won't see anything since the rest of the page is loaded using http.
jGromit

Posts: 7,492
Registered: 31-Jan-2006
Re: Https now available for albums hosted here
Posted: 21-Feb-2017 17:10   in response to: AnCa in response to: AnCa
  Click to reply to this thread Reply
Looks like it's working nicely. :)

In case anyone's wondering, even if you want to load pages with http:, there's no penalty for calling your external resources (like jQuery, Google fonts, YouTube videos) with https:, so you might as well just use https: for all of those, in any event.

A browser complains only when the page is called with https:, but there are http: calls within the page. The other way around, no problem.
davidekholm

Posts: 3,564
Registered: 18-Oct-2002
Re: Https now available for albums hosted here
Posted: 21-Feb-2017 17:12   in response to: jGromit in response to: jGromit
  Click to reply to this thread Reply
Great Anders, I see we have material for a newsletter again :-)
AnCa

Posts: 604
Registered: 25-Mar-2005
Re: Https now available for albums hosted here
Posted: 21-Feb-2017 18:24   in response to: jGromit in response to: jGromit
  Click to reply to this thread Reply
jGromit wrote:
Looks like it's working nicely. :)
Great! :)

Normally one could just remove the http: from urls to external resources, so they start with //. Then the same method will be used as the page itself is fetched with. But that won't work with skin templates since local preview then won't work, since those pages are fetched using file:...
jGromit

Posts: 7,492
Registered: 31-Jan-2006
Re: Https now available for albums hosted here
Posted: 21-Feb-2017 18:45   in response to: AnCa in response to: AnCa
  Click to reply to this thread Reply
AnCa wrote:
Normally one could just remove the http: from urls to external resources, so they start with //. Then the same method will be used as the page itself is fetched with. But that won't work with skin templates since local preview then won't work, since those pages are fetched using file:...

Yeah, I ran into that one with Google Analytics almost three years ago. It failed in a very non-graceful way. GA has since wised up, and uses https:// instead of just //.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums