• Marius

    (@mariusfv)


    I recently switched the whole wordpress site to https(it’s not first time when I switch a website to https).

    I replace http to https via a plugin and check on PhpMyAdmin too.
    Everything is https but no images load.

    After I’ve try a snippet code from here: https://wptavern.com/how-to-fix-images-not-loading-in-wordpress-4-4-while-using-ssl

    but no results.

    Links Without SSL display images, with SSL no images load.

    SO: Responsive images: src url is https(CHECKED), srcset url is http -> no images loaded

    Have somebody a solution for this bug?

    • This topic was modified 7 years ago by Marius.
Viewing 1 replies (of 1 total)
  • Thread Starter Marius

    (@mariusfv)

    Solved: In cPanel should you disable Hotlink protection.
    It is strange but in this way everything works like a charm!

    However this is a BUG, images are displayed with Hotlink protection activated if is served over http, images served over over https doesn’t work only with Hotlink protection disabled.

    • This reply was modified 7 years ago by Marius.
    • This reply was modified 7 years ago by Marius.
    • This reply was modified 7 years ago by Marius.
Viewing 1 replies (of 1 total)
  • The topic ‘Responsive images: src url is https, srcset url is http -> no images loaded’ is closed to new replies.