Log in
Factory

ImagesConfigFactory

Magento\Catalog\Model\Product\Gallery\ImagesConfigFactory

What it does

This factory class creates a collection of image configuration objects for product gallery images.

Developers use this when they need to build a structured collection of image settings (like size, type, or display options) that can be easily iterated and managed throughout the application.

It transforms array-based image configurations into a standardized Magento collection format.

Public Methods

  • create()