Glenn, I adapted your Categories Dressing code for using an image for each of my EZPages link if one is available. I didn't make it very robust, just put the code in that I wanted. You made it so easy for me to use images for sidebox titles using the Image Titles mod that I decided to apply the same concept to my EZPages links. In case you ever choose to expand your Categories Dressing mod to include the EZ Pages sidebox, here's the code from my tpl_ezpages.php (it's the full code from 1.3.8a):

PHP Code:
<?php
/**
 * Side Box Template
 *        05/28/08    Modifications adapted from Categories Dressing mod to post images instead of the
 *                            page name if the *.gif image is available. Also defines CSS id "ezLink" concatenated
 *                            with the same name as the EZ Link with blanks converted to underscores for the anchor tag
 *
 * @package templateSystem
 * @copyright Copyright 2003-2005 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: tpl_ezpages.php 2982 2006-02-07 07:56:41Z birdbrain $
 */
 
    
$content "";
    
$content .= '<div id="' str_replace('_''-'$box_id 'Content') . '" class="sideBoxContent">';
    
$content  .= "\n" '<ul style="margin: 0; padding: 0; list-style-type: none;">' "\n";
    for (
$i=1$n=sizeof($var_linksList); $i<=$n$i++) { 
        
$ez_name_display $var_linksList[$i]['name'];
          
$assoc_image_file 'ezimg_' strtr($ez_name_display,' ','_') . '.gif'/* replace blanks in name with underscore */
          
if( file_exists(DIR_WS_TEMPLATE_IMAGES $assoc_image_file) ) {
              
/* code has determined that image file with appropriate name exists, so plug it in */
              
$ez_name_display zen_image(DIR_WS_TEMPLATE_IMAGES $assoc_image_file''''''' title="Follow link to ' $ez_name_display ' "');
          }
        
$content .= '<li><a href="' $var_linksList[$i]['link'] . '">' $ez_name_display '</a></li>' "\n" ;
    } 
// end FOR loop
    
$content  .= '</ul>' "\n";
    
$content .= '</div>';
?>
Hope this is helpful, Karen