in the file tpl_product_info_display.php starting about line 130 is the call to the attributes module:
Code:
<!--bof Attributes Module -->
<?php
if ($pr_attr->fields['total'] > 0) {
?>
<?php
/**
* display the product atributes
*/
require($template->get_template_dir('/tpl_modules_attributes.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_attributes.php'); ?>
<?php
}
?>
<!--eof Attributes Module -->
---> this file: tpl_modules_attributes.php
this module has the code ($variables) that call up the image and image name for the attributes. This module also calls up the attributes options selection (actually calls that up before the image and image name.