Firstly, if you have a template other than the default template that is being used and you want to change a file that is in the default but not in your own template you should:
- copy the default version to the same place in your template
- edit the copied version.
Next, sorry I may have misunderstood what you are trying to do. Are you trying to get rid of the link which usually reads ' larger limage' and sits underneath the main image. Or are you trying to get rid of the functionality of clicking on the image to get a pop-up?
If it is the first then my previous post covered it.
If it is the second ( i.e. you want the image just to be an image rather than a link to a larger image ) then......
Find the same bit of code:
<div id="productMainImage" class="centeredContent back">
<script language="javascript" type="text/javascript"><!--
document.write('<?php echo '<a href="javascript:popupWindow(\\\'' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '\\\')">' . zen_image($products_image_medium, addslashes($products_name), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '</a>'; ?>');
//--></script>
<noscript>
<?php
echo '<a href="' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '" target="_blank">' . zen_image($products_image_medium, $products_name, MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '</a>';
?>
</noscript>
</div>
And change it to:
<div id="productMainImage" class="centeredContent back">
<?php echo zen_image($products_image_medium, addslashes($products_name), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT);?>
</div>