osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Problem with CSS images when referenced from HTTPs

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Customization/Mods

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 12-11-2006, 10:40 AM
Lurker
 
Join Date: Aug 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
joemathis
Default Problem with CSS images when referenced from HTTPs

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 12-26-2006, 09:40 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,492
Thanks: 73
Thanked 334 Times in 313 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default Re: Problem with CSS images when referenced from HTTPs

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


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 02-28-2007, 07:03 AM
Lurker
 
Join Date: Feb 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
totaltec is on a distinguished road
Default Re: Problem with CSS images when referenced from HTTPs

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 04:56 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax