You would need to update following files :
1) appcodecoreMageCatalogModelProductAttributeBackendMedia.php
2) appcodecoreMageCatalogModelResourceProductAttributeBackendMedia.php
3) appcodecoreMageCatalogModelProductAttributeMediaApi.php
4) appdesignadminhtmldefaultdefaulttemplatecatalogproducthelpergallery.phtml
5) jsmageadminhtmlproduct.js
Also You would need to alter table “catalog_product_entity_media_gallery_value” and Add field in Table ‘newoption’
How we can add one more new option in product images in magento please follow below steps :
Step 1)
Run the Following MySQL Query :
"ALTER TABLE `catalog_product_entity_media_gallery_value` ADD `newoption` VARCHAR(255) NOT NULL AFTER `label`";
|
Step 2)
Made the following changes to appcodecoreMageCatalogModelProductAttributeBackendMedia.php
Step 3)
Made the following changes to appcodecoreMageCatalogModelResourceProductAttributeBackendMedia.php
Step 4)
Made the following changes to appcodecoreMageCatalogModelProductAttributeMediaApi.php
Step 5)
Made the following changes to appdesignadminhtmldefaultdefaulttemplatecatalogproducthelpergallery.phtml
Step 6)
Made the following changes to jsmageadminhtmlproduct.js
Step 7)
You have done Please check new option in your product images tab in admin panel.