View Single Post
  #117  
Old 10-05-2007, 07:34 AM
 
fearnothing fearnothing is offline
 

Senior Member
  
Join Date: Jun 2005
Location: North East England
Posts: 124
 

Default Re: A simple fix to pretty the checkout up a little

The images reference tip above certainly seems to work across the board using Smarty templates where you want an image to appear in the cart - it sorts out the https / http thing no problem.

This is a typical entry in a .tpl file to use an image:

<IMG src="{$ImagesDir}/spacer.gif" width="1" height="1" border="0">

I have to admit to actually using the standard HTML ../ method of referencing images in certain situations (for example forcing the CC images to appear in the 'Payment Methods' section, as outlined earlier in this thread) but wherever templates are used the {$ImagesDir} method is definitely the way to go.
__________________
www.smartchoicemusic.com
Smart Choice Music - Import CD and DVD Specialists
4.6.0
MySQL 5.5.34
PHP 5.4.24
Apache/2.2.26
Multiple homegrown and paid-for mods
Reply With Quote