Log in
Model

MediaGalleryValue

Magento\Catalog\Model\ResourceModel\Product\MediaGalleryValue

What it does

This class manages store-specific media gallery values for product images in Magento 2.

Developers use it to retrieve all gallery entries for a product or save/update store-level image attributes like labels, position, and disabled status.

It handles the database operations for the catalog_product_entity_media_gallery_value table.

Public Methods

  • getAllByEntityId()
  • saveGalleryStoreValue()