This is a discussion on Problem with CSS images when referenced from HTTPs within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; Hello, looking for some help with images referenced within the stylesheet. I have no problems with these from non secure ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hello, looking for some help with images referenced within the stylesheet. I have no problems with these from non secure locations within the site only from https. The stylesheet loads fine and displays everything correctly except for the images. example: body { margin: 0; padding: 0; background: url(/img/background_tile.gif) top left repeat-x; text-align: center; background-color: #fff; } I have tried to remove the first backslash before the directory (i.e. "img/background_tile.gif") but find that the image does not load any where at that point. Any clues? Thanks, Joe |
| Sponsored Links | ||
| ||
| |
|
#2
| ||||
| ||||
| Without knowing the path structure and setup of ssl, there is not much help anyone can provide. Most likely you just need to tweak the path so that it works for both ssl and non-ssl images.
__________________ Michael Sasek osCMax Developer
|
|
#3
| |||
| |||
| I find that all HTTPS Problems with images disappear when you reference the complete path. https://www.yourname.com/images/yourimage.gif Same thing goes for flash or external scripts. Also make sure you are using https in your path, and that you are using the correct name for your cert https://www.yourname.com or https://yourname.com depending on how your cert reads. I think there is a way to have both work, but my workaround is to 301 redirect all traffic to the right name. |
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Broken images in https | brewer1st | osCMax v2 Installation issues | 3 | 04-18-2006 04:46 AM |
| HTTPS SSL images missing also weird links? | doug | osCommerce 2.2 Installation Help | 7 | 05-12-2005 10:06 AM |
| https-problem | springbank | osCommerce 2.2 Installation Help | 1 | 01-05-2004 08:31 AM |
| Losing images in admin with https | ozstar | osCommerce 2.2 Modification Help | 7 | 03-16-2003 08:14 PM |
| https and images-Admin Tool Help Plz | jouster | osCommerce 2.2 Modification Help | 1 | 01-24-2003 06:26 AM |