Lay Theme Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Images not loaded on SSL

    Bug Reports
    2
    4
    400
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • O
      odomera last edited by

      Hi all,

      I do have an SSL based website (SSL only) on which I want to switch to Lay theme.

      Not setting things up I noticed that Chrome and Firefox are not loading images, console shows the following error:

      "Mixed Content: The page was loaded over HTTPS, but requested an insecure image. This request has been blocked; the content must be served over HTTPS."

      Plus I noticed that the image is loaded locally ("wp-content/uploads...") although I do have a CDN (S3 / CloudFront) set up through W3 Total Cache and would have expected the image to be served through the CDN.

      Is there any fix for these?

      1 Reply Last reply Reply Quote 0
      • mariusjopen
        mariusjopen Global Moderator last edited by

        Dear Odomera,

        Best is if you write an email to armin.unruh@gmail.com and include your username, password and a link to this conversation.

        :-)

        Marius

        www.mariusjopen.world

        1 Reply Last reply Reply Quote 0
        • O
          odomera last edited by

          I was able to solve this. After digging a bit through the database I noticed that obviously because this is an existing website that at some point in the past was not running on SSL, some images were still saved to the database with a hardcoded http-url.

          So after deleting those old images and re-uploading them, the problem disappeared :)

          Sometimes things can be just easy. And I added this comment just in case someone runs into a similar problem and finds this entry here.

          1 Reply Last reply Reply Quote 0
          • mariusjopen
            mariusjopen Global Moderator last edited by

            Hi odomera!

            Oh wow! Lucky that was such an easy fix.

            I know for myself how sometimes things can be super annoying and in the end the problem is simple.

            Great you did it and thank you for sharing this in the forum!

            All the best!

            Marius

            www.mariusjopen.world

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            Try this to fix issues before you post:

            Use the Search Feature. Maybe there is already a solution to your issue.

            1. Update Lay Theme and all Lay Theme Addons
            2. Disable all Plugins
            3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
            4. Now see if your problem solved itself
            5. Go here, see if your problem is listed here:
            Troubleshooting

            When you post:
            1. Post a link to where the problem is
            2. If the problem is difficult to explain, post screenshots / link to a video to explain it

            Thanks!

            Online Users

            S
            M

            Recent Topics

            • L

              position Project titles outside the images on the side

            • slow navigation WP admin control panel

            • P

              News element date and title order

            • add css class to site title img

            laytheme.com