Thread: Securing images
View Single Post
  #6  
Old 09-15-2007, 06:13 PM
 
somekindahate somekindahate is offline
 

Advanced Member
  
Join Date: Apr 2007
Posts: 84
 

Default Re: Securing images

Quote:
Originally Posted by OpheliaPayne
This still makes the background image unsecure.

css file = skin1 directory
background = skin1 directory

I also tried it in the skin1/images directory

Still not working.

Maybe, I mis-interpretated your question. Why would you want to hard-code an image as https (secured) all the time? There is an overhead when serving pages, assets, etc with https versus http. The solution I posted is changing the link to a relative link. When the site is accessed via http, it will load the image via http. If it's accessed via https, it will load via https. If you want it to always load from https, just change the prefix to https.
__________________
X-Cart Gold v. 4.1.10
Reply With Quote