Background Image Gallery Causing HTTPS Error
  • Hi Guys,
    Re: SSL and Google Chrome
    Sample Site: https://taylonhopemusic.com/

    I'm using the Background Image Gallery on some of my clients' sites. I had to add HTTPS (SSL Certificate) compatibility to keep Google from tagging the sites as possibly dangerous.

    Everything is good until the gallery loads the second, third, etc. images. Then I lose the "green padlock" and the word "Secure" disappears and is replaced by a small "circle" with an "i" in it. If I click on the circle the dropdown says the site is not safe.

    Is there a way to make the gallery maintain the secure SSL HTTPS setting?

    Thanks in advance.
    Frank

    P.S. I know I need to move my clients websites to WordPress, but most don't want to pay for it, so I'm still managing some of the sites with WebPlus X8.
  • Hi Frank,

    Try adding the FULL URL address to each of the images you have set for the background gallery

    example

    Change this
    { src:'backgrounds/bg10.jpg', fade:2000 },
    To this
    { src:'https://taylonhopemusic.com/backgrounds/bg10.jpg', fade:2000 },

    via the code in the addon html frag

    That hopefully should keep the secure lock, let us know if that sorts the issue out for you
  • Thanks Mick. I'll give it a try and let you know...

    Frank
  • I can see from the post you have made over on the Serif community forum that this hasn't worked for you but it could well be down to other links to your files which are just called from server via sub folders or the root and could well also need the full URL address so the https gets included, for instance, the addon uses these calls

    <script type="text/javascript" src="jquery.js"></script>
    <script type="text/javascript" src="jquery.vegas.min.js"></script>
    <link rel="stylesheet" type="text/css" href="background-gallery-styles.css" />


    So maybe adding https://taylonhopemusic.com/name-of-file might help

    Apart from that, I don't know what else to suggest
  • I made the change to the image URL, but that didn't fix it, so I tried using the full URL on the all od the src: references, but that didn't work either. I then copied the HTML fragment on to a blank page with no master pages, but that didn't work either.

    Frank
  • Thanks again Mick. I hope you don't mind that I posted it on the Serif forum as well.

    I tried what you suggested, but it still didn't work. As you can see in my previous reply, I applied it to every instance of src=.

    I'll keep working on it. If I figure it out I'll be sure to post it here and on Serif for any others that might need it.

    Frank
  • Read above Frank as what else I have suggested isn't showing on your taylon hope site (edit the js and css calls also, not just the src links)
  • Also after reading multiple threads on various forums, ALL links to images, scripts, text hyperlinks etc must ALL use absolute URL addresses and even if 1 link remains as a relative url link, it may break the secure page that is using SSL certificates and https.

    Therefore, my final post on this would be to check the entire page/pages and change ALL links to ALL files and use the FULL ABSOLUTE url address.

    Hopefully this WILL sort your problem out, you may even have to change the properties within Webplus to use absolute url links as you will not be able to change them manually as these kind of things are hard coded by webplus and not accessible as a code edit, unless of course, you publish the entire site to disk and edit each page manually before uploading again using anything other than the built in ftp client of Webplus.

    Plus it does seem like the site cannot find the backgrounds/bg11.jpg file and gives 404 error message, which may also contribute to the problem.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion