Resizing A Product Image

Updated . Posted . Visible to the public.
$helper = Mage::helper('catalog/image');
$helper->init($product, 'image');
$helper->resize(216, 161);

// the helpers __toString() method outputs the url
echo $helper;

Mike Whitby
Last edit
Posted by Mike Whitby to Magento (2012-03-23 17:14)