Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. Bug Reports
  3. Images not loaded on SSL

Images not loaded on SSL

Scheduled Pinned Locked Moved Bug Reports
4 Posts 2 Posters 498 Views
  • 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 Offline
    O Offline
    odomera
    wrote on last edited by
    #1

    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
    0
    • mariusjopenM Offline
      mariusjopenM Offline
      mariusjopen
      Global Moderator
      wrote on last edited by
      #2

      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
      0
      • O Offline
        O Offline
        odomera
        wrote on last edited by
        #3

        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
        0
        • mariusjopenM Offline
          mariusjopenM Offline
          mariusjopen
          Global Moderator
          wrote on last edited by
          #4

          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
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          I also code custom websites or custom Lay features.
          šŸ’æ Email me here: šŸ’æ
          info@laytheme.com

          Before you post:
          1. When using a WordPress Cache plugin, disable it or clear your cache.
          2. Update Lay Theme and all Lay Theme Addons
          3. Disable all Plugins
          4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

          This often solves issues you might run into

          When you post:
          1. Post a link to where the problem is
          2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
          3. If the problem is difficult to explain, post screenshots / link to a video to explain it
          Online Users
          Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
          laytheme.com
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Recent
          • Tags
          • Popular
          • Users
          • Search