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

Senior Member
  
Join Date: Aug 2007
Posts: 130
 

Default Securing images

Have a couple questions on how to do this.

1. I am pulling an image for my background via the css. What code do I put in it to make the background secure? Currently I have:

Code:
HTML,BODY { HEIGHT: 100%; MARGIN: 0px; PADDING: 0px; background: #FFEA7B url(http://www.mysite.net/store/skin1/background.jpg) repeat; }

2. I'm trying to add an image to the txt_welcome area of the template. I place this code

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

It is showing up as a broken image. The image is there... double checked several times. How do I add an image to the txt_welcome area and make it secure?

3. Is there a way to make topsite images incorporated into the secure way of doing things? The code we have to use (an example) is as follows (we have this code in /main/prnotice.tpl):

Code:
<a href="http://www.site.com/topsites/"><img src="http://www.site.com/topsites/button.php?u=username" alt="Topsite" border="0" />

Is there any way we can alter this or will we need to remove the topsite code?

Thank you.
__________________
xCart 4.6.1
Reply With Quote