how to add image field in product attribute dropdown? Please check below 2 image

magento 1 enter image description here

Magento 2 enter image description here

you can check in both image in Magento 1 image there are 3-4 fields extra like flag image, thumbnail, image.

how can we do the same in Magento 2?

I am only able to create yes-no fields in attribute under Storefront Properties tab.

  • try changing dropdown into swatches, But you have only opttion to upload a single image or Choose a color option..There is no option for adding multiple images
    – aravind
    Jul 13, 2019 at 5:31
  • You can create attribute with "Image Media" type, but it can allow you to upload a single image and you can set it on PDP. check this image: nimb.ws/zo8ykS
    – KKR
    Jul 13, 2019 at 5:42
  • @aravind I want to upload 3 images. Is it possible? Jul 13, 2019 at 13:21
  • @KKR how to add a column with dropdown? Jul 13, 2019 at 13:30
  • @sumeetbajaj can you please explain where you want to add dropdown column and what you want to do with that dropdown ?
    – KKR
    Jul 13, 2019 at 14:33

1 Answer 1


instead of Dropdown type attribute select Visual Swatch it will allow to upload an image or choose a color for the Attribute value.


  • Thanks for the reply, but I want to add a column with dropdown Jul 13, 2019 at 13:22
  • This makes sense! ;-)
    – phagento
    Dec 7, 2020 at 3:33

Your Answer

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

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