I need to display relevant category image alongside product detail page. I need to display product's sub category image. Im using custom phtml file to display logo image on top of/before the product name. (image location)
My categories are like this, Category one Category two Category three
each category has a few manufacturers as sub categories. I need to display that manufacturer logo image on product's detail page.
I tried using module_catelog/templates/category/image.phtml but it shows some errors on this line of code.
$_imgUrl = $_category->getImageUrl()
How can I get the category image URL in my phtml file?