Tuesday, September 6

How to get Product Image path in Magento

Here is the script to get product image path in magento

$productId = 1;
$product = Mage::getModel('catalog/product')->load($productId);
$path = Mage::helper('catalog/image')->init($product, 'image')->resize(75, 75);


Hope it Helps... Thanks

No comments:

Post a Comment