How to remove white space from image in magento
add the keepFrame(false) method in your Image tag like this :
<?php echo $this->helper('catalog/image')->init($this->getProduct(), 'thumbnail', $_image->getFile())->resize(900,1200); ?>
Replace To :
<?php echo $this->helper('catalog/image')->init($this->getProduct(), 'thumbnail', $_image->getFile())->resize(900,1200)->keepFrame(FALSE); ?>
No comments:
Post a Comment