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.


  • 1
    Have you solved your issue? Yoi can close this question after mark as accepted. Jan 7, 2017 at 6:28

2 Answers 2


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

Save Attribute. enter image description here

Now set above attribute in Attribute Set like default.

Run command php bin/magento indexer:reindex

  • 1
    How to get or load this image/image type on category page? Sep 5, 2017 at 7:53
  • You also need to add the newly created attribute to relevant attribute sets (Stores > Attribute> Attribute Sets)
    – eddhall
    Sep 30, 2020 at 15:23

This command solved my issue:

php bin/magento indexer:reindex

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.