I am getting category description on 2columns-left.phtml by following code:
Text are showing but media wysiwyg images not showing on frontend.
I am getting images in WYSIWYG Editor like:
How to display images on frontend of category description?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityreplace your code with
<?php
$_description = Mage::getModel('catalog/layer')->getCurrentCategory()->getDescription();
echo $this->helper('catalog/output')->categoryAttribute($_category, $_description, 'description');
?>
Try this code:-
$_cmsHelper = Mage::helper('cms');
$_process = $_cmsHelper->getBlockTemplateProcessor();
echo $_process->filter($category_description);
you can try this:
<?php echo '<img alt="" src="{{media url="wysiwyg/category_quality_image/em1.jpg"}}" />' ?>