Thread: Securing images
View Single Post
  #4  
Old 09-15-2007, 05:42 PM
 
OpheliaPayne OpheliaPayne is offline
 

Senior Member
  
Join Date: Aug 2007
Posts: 130
 

Default Re: Securing images

Quote:
Originally Posted by somekindahate
Don't put an absolute path in the url portion. Assuming the CSS file is located in the skin1 directory, you should use:

background: #FFEA7B url(background.jpg);

This still makes the background image unsecure.

css file = skin1 directory
background = skin1 directory

I also tried it in the skin1/images directory

Still listing as unsecure.

Quote:
Language variables don't parse the Smarty syntax normally used in the tpl files. You need to double escape it and remove the dollar sign. Try replacing {$ImagesDir} with {{ImagesDir}}

I changed it to this:

Code:
<IMG src="{{ImagesDir}}/rewards_points.jpg" width="150" height="150" border="0">

Still not working.
__________________
xCart 4.6.1
Reply With Quote