Magento – resize image with custom background color
In magento when we use resize() by default white background comes we can set our custom color 🙂
1 2 3 4 5 |
set color with resize <?php echo $this->helper('catalog/image') ->init($_product, 'small_image')->backgroundColor(228,208,177)->resize(135, 135); ?> |