Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

https images question

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-02-2007, 01:06 AM
 
Lee Lee is offline
 

Advanced Member
  
Join Date: Dec 2002
Posts: 95
 

Default https images question

Morning all,

I have searched the forum for an answer to this without much success.

I have created a new submenu that uses CSS positioning and the header part of each panel is a class item that contains an image link in the CSS code. i.e. -

.basket{background:url("http://www.lasertechgroup.com/12ls06dev/skin1/images/a/basket.gif") no-repeat;}

I have our store switching to https upon login and these images within my css are being highlighted as non-secure items. Now I realise they are aboslute links but if I change them to a relative link I get the same problem, is there a setting in the admin that just switches the images even if the call is from https?

Anyone had a similar problem?

Thanks,
__________________
Lee

X-Cart 4.0.14 - heavily modified! (Linux)
www.lasertechgroup.com/uk
Reply With Quote
  #2  
Old 03-02-2007, 01:46 AM
 
inebriate inebriate is offline
 

eXpert
  
Join Date: May 2006
Posts: 301
 

Default Re: https images question

why dont you just remove http://www.yourdomain.com/skin1/ and leave the rest of the url?
__________________
x-cart pro 4.0.18
linux
www.fabric8d.com (currently undergoing construction)
Reply With Quote
  #3  
Old 03-02-2007, 03:15 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: https images question

In the css file, you simply need to use images/imagename..no need for the full url.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #4  
Old 03-04-2007, 06:24 AM
 
Lee Lee is offline
 

Advanced Member
  
Join Date: Dec 2002
Posts: 95
 

Default Re: https images question

thanks fellas,

was just being really stupid as I had my local version style sheet in a different directory to what it was live on the server!

Too many balls to juggle
__________________
Lee

X-Cart 4.0.14 - heavily modified! (Linux)
www.lasertechgroup.com/uk
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:53 AM.

   

 
X-Cart forums © 2001-2020