I am not sure what file you are in for that, but for the default code for Categories you can customize the file:
/includes/templates/your_template_dir/tpl_index_categories.php
with the code in RED:
Code:
// categories_image
if ($categories_image = zen_get_categories_image($current_category_id)) {
$cat_name = zen_get_category_name($current_category_id, (int)$_SESSION['languages_id']);
?>
<div id="categoryImgListing" class="categoryImg"><?php echo zen_image(DIR_WS_IMAGES . $categories_image, $cat_name, SUBCATEGORY_IMAGE_TOP_WIDTH, SUBCATEGORY_IMAGE_TOP_HEIGHT); ?></div>
<?php
and the file:
/includes/templates/your_template_dir/tpl_index_product_listing.php
Code:
// categories_image
$cat_name = zen_get_category_name($current_category_id, (int)$_SESSION['languages_id']);
if ($categories_image = zen_get_categories_image($current_category_id)) {
?>
<div id="categoryImgListing" class="categoryImg"><?php echo zen_image(DIR_WS_IMAGES . $categories_image, $cat_name, CATEGORY_ICON_IMAGE_WIDTH, CATEGORY_ICON_IMAGE_HEIGHT); ?></div>
<?php
Bookmarks