Product findability is key to any e-commerce business — after all, if customers can’t find
Please follow below steps to add new image type in product images tab in manage products magento back-end and call it in product view page at front-end.
Step 1: Create a new attribute with SCOPE: Store View, Catalogue Input Type for Store Owner: Media Image, Apply to : All Product Types as shown in attachment.
Step 2: Assign attribute to all attributes set as per your need.
Step 3: You will get new image attribute in add/edit product > Image Tab > New attribute with column see attachment for more.
Step 4: To display the image in .PHTML page you can use below code where “productbanner” is attribute code:
$product_id = Mage::registry('current_product')->getId(); $collection = Mage::getResourceModel('catalog/product')->getAttributeRawValue($product_id, 'productbanner'); ?> <?php if($collection): ?> <img src="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA)."catalog/product".$collection;?>"> <?php endif; ?>