Showing posts with label How to get a category thumbnail or image Magento. Show all posts
Showing posts with label How to get a category thumbnail or image Magento. Show all posts

Monday, 7 September 2015

Get category thumbnail image magento


Get category thumbnail image magento

Just try to use below code :

<?php echo Mage::getBaseUrl('media').'catalog/category/'.Mage::getModel('catalog/category')->load($_category->getId())->getThumbnail(); ?>

Example :

<img class="img-responsive" src="<?php echo Mage::getBaseUrl('media').'catalog/category/'.Mage::getModel('catalog/category')->load($_category->getId())->getThumbnail(); ?>"  />