Erik_ Admin
Re: Images not displaying
Fri April 16, 2021 1:23am

Hi Sai,

On Firefox, for me, the images still load but give a warning about them being over HTTP while the site is served over HTTPS.

When I try in Chrome, the pictures fail to load because the browser attempts to force load the images over HTTPS from your site instead of HTTP. When it tries to load from HTTPS, they fail due to a SSL cert error on your site. I'm guessing this is a new security feature they added to the browser to keep insecure images from being loaded on secure pages.

This is the error message I see in the browser debug console:
Mixed Content: The page at 'https://nediscapp.herokuapp.com/indices/11' 
was loaded over HTTPS, but requested an insecure element
'http://www.jennifer-lien.com/JenniferLien/jlpics1/Tx1002.jpg'.
This request was automatically upgraded to HTTPS, For more information see
https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html

jen2.jpg:1 Failed to load resource: net::ERR_CERT_COMMON_NAME_INVALID
Tx1002.jpg:1 Failed to load resource: net::ERR_CERT_COMMON_NAME_INVALID


Microsoft Edge browser is Chromium based so I assume it will behave like Chrome does. I don't have that browser to try and test on though.

A possible solution would be to upload the two images to Imgur.

After they're uploaded to the site, right click on "View image in new tab" and use the URL in the browser address bar as your image URLs (I'm not sure if their built in "share" options allow direct linking to the image but doing it this way does). They're images are served over HTTPS and it's free to upload to. They also don't seem to delete things ever. I've had images I've uploaded years ago that the URLs still work for.

Hope this helps.
-Erik

  • Images not displaying - Sai Wong, Thu April 15 2021 10:19am
    Hello Erik, Recently images are not displaying on my forum. I haven't changed any settings on my end, so I would like to ask if you could investigate if any changes you have made on your end may have... more
    • Re: Images not displaying- Erik_Admin, Fri April 16 2021 1:23am
      • thanks Erik - Sai Wong, Fri April 16 2021 6:06am
        Hello Erik, Thanks for looking into this. I created an Imgur account and uploaded the images to it. Forum seems to be displaying images now (via Imgur links). In general don't link this Google/internet... more
        • Did some tesrting - Sai Wong, Fri April 16 2021 11:35am
          I did some extra testing on my forum noticed that ... LINKS to websites, both HTTP & HTTPS worked without issues LINKS to images, both HTTP & HTTPS worked without issues direct display of... more
          • Thanks for running some more tests. - Erik_Admin, Sun April 18 2021 2:01am
            This site used to be able to be displayed over HTTP or HTTPS depending on what you entered in the URL address bar. I've noticed that when going to HTTP that I'm automatically redirected to HTTPS. It appears... more