How To Get Full Product Image Url in Magento .?

Get Full Product Image Url  in Magento:- You can easily resize or design full image and use thumbnail product image URL as required in Magento as per requirements to match with design layout.

Magento Product Image URL Syntax and Example Code

   $collection = Mage::getModel('catalog/product')
                        ->addAttributeToSort('created_at', 'DESC')
                        ->load();
         foreach ($collection as $product){
         $fullPath = Mage::helper('catalog/image')
        ->init($product, 'image')->resize(100,100);
         
        }

With this code you can get to resize product image in Magento URL as per your discretion

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *