NamelessMC

Internet Explorer

Internet Explorer is not supported. Please upgrade to a more modern browser.

Question HTTPS fix
Started by dadus33

dadus33

dadus33

Member
Joined
15 Mar 2016
Last Seen
25 May 2016
Topics
2
Posts
13

Hello, I direcently discovered that even though my website has a valid SSL cert, pages with images loaded from http sources still won't show the green padlock. I know this is caused by mixed content, however I can't realy control where users get their images or videos, sounds or any oher kind of content. I thougth about the following solution:

Let's say user X wants to add an image. The editor should first check wether the image source is https. If it it, then it's all fine. If it's not, it should use the Imgur API to automaticly upload the image from it's original, insecure http source to imgur with https connection. Then, the image actual's link that will be displayed on the forums will be that of the reuploaded imgur file, with https. Same thing should go for other kinds of media too. Thanks!

dadus33 · over 8 years ago
dadus33

dadus33

Member
Joined
15 Mar 2016
Last Seen
25 May 2016
Topics
2
Posts
13

A small bump to bring it back to your attention...

dadus33 · over 8 years ago
Samerton

Samerton

Owner
Joined
30 Mar 2015
Last Seen
23 Dec 2024
Topics
41
Posts
1076

Unfortunately I'm not sure this is feasible, it'd require each Nameless installation to have signed up for an Imgur API key, and there'd be a lot of checking on each post submission for every image.

There's a possibility in the future (probably much further down the line) for something similar, but there's potentially copyright issues (copying other people's images and reuploading them). I'd have to think of other options rather than reuploading to Imgur if this was to happen.

Samerton · over 8 years ago
dadus33

dadus33

Member
Joined
15 Mar 2016
Last Seen
25 May 2016
Topics
2
Posts
13
Samerton said:

Unfortunately I'm not sure this is feasible, it'd require each Nameless installation to have signed up for an Imgur API key, and there'd be a lot of checking on each post submission for every image.

There's a possibility in the future (probably much further down the line) for something similar, but there's potentially copyright issues (copying other people's images and reuploading them). I'd have to think of other options rather than reuploading to Imgur if this was to happen.

I understand, but I deffinetly know this is possible. As for copyright issues, I really doubt it, that would be the issue of the person who uploaded the image. One good counter-example in this case is, well, spigotmc, which uses XenForo. Images linked by users are then reuploaded to the spigot servers. If you right click an image and copy the link, you'll see that it's in fact something like proxy.spigotmc.org/xxxxxxxxx. I don't really know if the images are actually reuploaded or the site simply creates a temporary secure link to them, but I think looking into that should be a great starting point. Thanks for developing this awesome website!

dadus33 · over 8 years ago