Product Thumbnail sizes in Magento

July 8, 2010 | In: Magento, php, web development

If you want to show product thumbnail on any page in your requirement size then

At the showing page :

<img src=”<?php echo $this->helper(‘catalog/image’)->init($_product, ‘small_image’)->resize(100, 100) ?>” border=”0″ alt=”<?php echo $this->htmlEscape($_product->getName()) ?>” />

Change 100, 100 to your X, Y

Where X : your requirement width

and Y : Requirement height.