Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

problem with category images


fribhey

Recommended Posts

i've uploaded through the admin a category image for each one of my categories. what i want is the text category heading replaced with the category image for that category.

 

this is the code i tried:

 

<?php echo tep_image(DIR_WS_IMAGES . $image, HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?>

 

i also tried this (wasn't sure which one it was):

 

<?php echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?>

 

 

but neither is working, no image is being displayed

 

i also want the category image to be shown on the product page.

 

any help would be appreciated.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...