Add image attribute to product

24.May.2016

While Magento does allow us to add new media image types, sometimes we need image attribute that will work independently of product gallery.

custom-image-attribute

First, new image attribute backend model has to be created:

After that, all we have to do is create a image attribute with newly created backend model:

Congrats, you’re done!