jcadima
12/7/2015 - 3:30 PM

Magento IMAGE wysiwyg Directive

Magento IMAGE wysiwyg Directive

http://magento.stackexchange.com/questions/4775/equivalent-of-the-cms-directive-media-url-in-normal-block-templates

Use on Pages
{{media url="wysiwyg/image.jpg"}}
<img alt="image" src="{{media url="wysiwyg/all_new_products.jpg"}}">


Use on Template Files:
<img src="<?php echo Mage::getBaseUrl('media') ?>image.jpg">