how to get
php problem and facts
Saturday, 2 March 2013
resize product image magento
$productId = 2;
$width = 200;
$height = 200;
$product = Mage::getModel('catalog/product')->load($productId);
$resizeimage = Mage::helper('catalog/image')->init($product, 'image')->resize($width, $height);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment