[Resolved] Images Missing when page uses SSL

Home Forums Support [Resolved] Images Missing when page uses SSL

Home Forums Support Images Missing when page uses SSL

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #31427
    Daniel Akowuah

    Hi,
    All my images are disappearing when on a page that uses SSL or HTTPS. ANyone have a fix?

    Thanks
    Spence

    #31473
    Tom
    Lead Developer
    Lead Developer

    Are you using this plugin? https://wordpress.org/plugins/wordpress-https/

    Let me know πŸ™‚

    #31492
    Daniel

    Hi yes i had that installed but recently removed it.

    #31561
    Tom
    Lead Developer
    Lead Developer

    I would suggest you keep using it – it will automatically make sure everything on the page is encrypted, including images, which means they’ll show up without any issues.

    #31574
    Daniel

    Ok but did not fix it. Images still not appearing. What do you make of it?

    #31578
    Mizanur

    This plugin has compatibility issue with WP 4.0. It is broken.

    #31587
    Tom
    Lead Developer
    Lead Developer

    Hmm, I’m seeing those reports as well – but I’m using that plugin on this site which is running 4.0 without any issues.

    Can you link me to the page that isn’t showing the images?

    #31601
    Daniel

    Hi i sent the login.

    #31840
    Tom
    Lead Developer
    Lead Developer

    Shouldn’t need login info just yet – can you point me to a page that has images not showing up?

    #31848
    Daniel Akowuah
    #31852
    Daniel Akowuah

    Had to revert back to original template for now as it is a live site. I tried removing WordPress HTTPS plugin but that did not allow the images to start appearing against on http:// or https://

    ANy ideas?
    Thanks

    #31855
    Tom
    Lead Developer
    Lead Developer

    Hmm – I’m afraid there’s not much I can do.

    When you enable HTTPS – it will block elements that aren’t secure.

    So one thing you can try is in your code when you show an image (<img src="..), change the http:// to //.

    So this would be your image now:

    <img src="http://linktomyimage.com" />

    And this would be your image after tweaking it for HTTPS:

    <img src="//linktomyimage.com" />

    This lets your browser decide whether to use http:// or https://

    #33208
    Daniel Akowuah

    Hi thanks for the tips. Not sure how but the problem has corrected itself following generatepress updates. I had a tun of plugins installed as well so one of them may have been contributing to the problem.

    Daniel

    #33249
    Tom
    Lead Developer
    Lead Developer

    Glad it’s fixed πŸ™‚

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.