View Single Post
  #4  
Old 05-13-2007, 04:34 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Adding link to welcome image

If you know what template is displaying the image, you should be able to insert an "a href" link --

for example, if the image is:

Quote:
<img src="{$ImagesDir}/image-123_300x200.jpg" alt="Logo" height="200" width="300" border="0" />

then the image with the link would be:

<a href="/path/to/destination.html"><img src="{$ImagesDir}/image-123_300x200.jpg" alt="Logo" height="200" width="300" border="0" /></a>

SO, for you, your image: /customer_images/welcome.gif becomes:

Code:
<a href="/xcart/product.php?productid=6&cat=23"><img src="{$ImagesDir}/customer_images/welcome.gif" alt="you should have some alt text here" height="338" width="537" border="0" /></a>

Hope this helps.

Jeremy
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote