Log in
Model

MediaGalleryValue

Magento\Catalog\Model\ResourceModel\Product\MediaGalleryValue

What it does

This class manages media gallery value records for product images in Magento 2, handling store-specific metadata like labels, position, and disabled status.

Developers use it to retrieve all gallery values for a product or save/update store-specific image attributes when working with product images across multiple store views.

Public Methods

  • getAllByEntityId()
  • saveGalleryStoreValue()