Show category image on category products page?

what changes I need to make in


so category images can appear on category product pages?

done it … found solution in another post… added these lines

{include file="common_templates/image.tpl" show_detailed_link=true images=$category_data.main_pair object_type="category" no_ids=true class="cm-thumbnails"}


I would like the category image not to be shown on the product page but to be shown on category page, any ideas,

eg if i click on parent category then a page of thunmbnails for all child categories appears, if I then clikc on a child category I dont want the image to be shown above all the products.