How can we add extra field in image role in product page admin panel.
I want to add new field same as thumbnail in Image role popup.
How can we add extra field in image role in product page admin panel.
I want to add new field same as thumbnail in Image role popup.
You have to just add image role using create image attribute from
Stores -> Attribute -> Product
Click on Create new attribute.
Set Catalog Input type for store owner is Media Image
Now set above attribute in Attribute Set like default.
Run command php bin/magento indexer:reindex