Welcome to TalkGraphics.com
Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2009
    Location
    SC, USA
    Posts
    186

    Default Images not displaying on Https website

    I am using Web Designer 11 Premium. I have a site that I just installed a Comodo certificate on at Hostmonster and activated.The http version shows correctly but no images or menus (except text) show under https.

    Some Googling suggests that it is an issue related to using absolute html addressing for css files and images rather than relative addresses is the issue.

    I did a quick forum search but could not find info on this. Appreciate any help.

    Thanks!

  2. #2
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,503

    Default Re: Images not displaying on Https website

    Welcome to TalkGraphics

    I am not use here but several members have been working with this. Maybe they can shed some light.

  3. #3
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,823

    Default Re: Images not displaying on Https website

    Quote Originally Posted by V12CatMan View Post
    I am using Web Designer 11 Premium. I have a site that I just installed a Comodo certificate on at Hostmonster and activated.The http version shows correctly but no images or menus (except text) show under https.
    Some Googling suggests that it is an issue related to using absolute html addressing for css files and images rather than relative addresses is the issue.
    I did a quick forum search but could not find info on this. Appreciate any help.
    Thanks!
    All Xara links are relative unless you have made them absolute yourself.
    we need to have the web address so we can advise further.

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  4. #4
    Join Date
    Mar 2009
    Location
    SC, USA
    Posts
    186

    Default Re: Images not displaying on Https website

    Quote Originally Posted by Acorn View Post
    All Xara links are relative unless you have made them absolute yourself.

    Acorn
    Here is an example of what the source shows:

    <link rel="stylesheet" type="text/css" href="index_htm_files/xr_main.css"/>
    <img class="xr_ap xr_ro xr_ro0 xr_tt3" src="index_htm_files/6198.png"

    Thanks - Gary

  5. #5
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,917

    Default Re: Images not displaying on Https website

    Hi CatManDo. If you're using an HTTPS site then ALL the content needs to be within the secured part of the server. So I suggest using Absolute links such that :
    href="index_htm_files/xr_main.css"/
    becomes:
    href="https://www.my-site.com/index_htm_files/xr_main.css"/
    Don't mix encrypted files with un-encrypted files.
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  6. #6
    Join Date
    Mar 2009
    Location
    SC, USA
    Posts
    186

    Default Re: Images not displaying on Https website

    Quote Originally Posted by Egg Bramhill View Post
    Hi CatManDo. If you're using an HTTPS site then ALL the content needs to be within the secured part of the server. So I suggest using Absolute links such that :

    becomes:


    Don't mix encrypted files with un-encrypted files.
    Egg - a couple of questions:
    1. If I use Https addressing will the pages still display correctly under Http (say certificate expired or not installed) or is it a case of Https + certificate at all times?
    2. Where is the Https set globally? I see the following in the web properties HTML Body Code

    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>

    Thanks...Gary

  7. #7
    Join Date
    Mar 2009
    Location
    SC, USA
    Posts
    186

    Default Re: Images not displaying on Https website

    Looking at another non Xara site that is all Https: I see the images referenced relatively so that equates to the following:

    <img class="xr_ap xr_ro xr_ro0 xr_tt3" src="\index_htm_files/6198.png" as opposed to <img class="xr_ap xr_ro xr_ro0 xr_tt3" src="index_htm_files/6198.png"

    How do I accomplish that?

    I'm further confused by this post which talks about creating an https site. My understanding was that if a certificate was in place that was all that was needed.
    https://www.talkgraphics.com/showthr...lative+address

    Thanks....Gary

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •