At the very beginning, we have to create image attribute and its variations globally. To create ( Image / Color / Button / Radio ) type attribute globally.
Navigate to Products >> Attributes. As we’ll create ( Image / Color / Button / Radio ) type attribute for our product. Fill the name field with your desired attribute name.
You can leave Slug field empty. It automatically generates the slug for the attribute. From the Type dropdown select ( Image / Color / Button / Radio ) attribute type. When the mandatory fields are filled, select Add Attribute button.
After creating attribute, you will notice a list is created in the right side.