Iframe not working after enabling https redirection
So I have a customer that has an issue with iframes. When redirection is not enabled the site works perfectly fine and shows all the images in his iframe but when https redirection is enabled it does not work. What ends up happening is he has images that are in an iframe and those images do not get displayed it only shows his custom menu navigation bar up top and the rest of the page is just black with no images printed to it. I am not an expert in coded so i am not sure how to solve this or what needs to be done as the customer wants the site to work with https.
Does the iframe code have to be coded to to point at https instead of http or is iframes not compatible with https redirection. Here is the code that is to one of the site links. I am not sure if there is anything i need to post here to help assist with this issue if there is let me know as I'll be monitoring this posting.
[CODE=html]
1939 Ahrens Fox HT (Hercules Type)
1939 Ahrens Fox HT (Hercules Type)
-
I'm going to be honest and put it out there that I don't know a ton about iframes development but I do see that every single one of his URLs listed in that code is http rather than https - if it's trying to call an insecure resource it's going to fail to load I believe. 0 -
Yes, HTTPS requires embedded elements like iframes and javascript be delivered via HTTPS as well, otherwise it's not secure. Images directly on the page will usually work via http but you'll lose the secure lock and get mixed-content warnings in the browser console. So best to make sure everything uses HTTPS. When it comes to remote content sometimes that can be problematic if it's an old system that doesn't support HTTPS connections. 0
Please sign in to leave a comment.
Comments
2 comments