Here is the way to go…….
reference: http://jaseir.com/magento/resizing-a-product-image/
<pre>
$helper
= Mage::helper(
'catalog/image'
);
$helper
->init(
$product
,
'image'
);
$helper
->resize(216, 161);
?></pre>
reference: http://jaseir.com/magento/resizing-a-product-image/
No comments:
Post a Comment