You can fetch a list of image attribute from the current attribute set using Magento 2.
If you want to know about all the image attribute created for the given attribute set, You can find out all the image attributes for an attribute set.
Retrieve the list of media/image attributes whose fronted input type is media_image assigned to the given attribute set using below way. Continue reading “Get Media/Image Attribute list from given Attribute set Magento 2.”