Log in
Model

GalleryManagement

Magento\Catalog\Model\Product\Gallery\GalleryManagement

What it does

This class manages product media gallery operations through Magento's API.

Developers use it to programmatically create, update, retrieve, or delete product images and media entries, including handling image content validation, encoding, and storage across different filesystem drivers like local storage or AWS S3.

Public Methods

  • create()
  • update()
  • remove()
  • get()
  • getList()