Thread: Securing images
View Single Post
  #11  
Old 09-15-2007, 07:39 PM
 
balinor balinor is offline
 

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

Default Re: Securing images

Ok, so if it is all of those images, how do you know fixing the background image worked? To call images in the stylesheet, you need to put them in the skin1/images directory and call them like this:

background: url(images/imagename.jpg);

To call images in the templates, you use:

<img src="{$ImagesDir}/imagename.jpg">

If you do that, they won't give you that warning. If they do, something is either incorrect with your http/https setup, or you have an absolute path called somewhere.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote