This page has moved and will be redirected soon. See Migrated topics for the complete list.


The Magento_MediaGalleryUi module is responsible for the media gallery user interface (UI) implementation.


Before installing this module, note that the Magento_MediaGalleryUi is dependent on the Magento_Cms module.

For information about a module installation in Magento 2, see Enable or disable modules.


Extension developers can interact with the Magento_MediaGalleryUi module. For more information about the Magento extension mechanism, see Magento plug-ins.

The Magento dependency injection mechanism enables you to override the functionality of the Magento_MediaGalleryUi module.


This module introduces the following layouts in the view/adminhtml/layout directory:

  • media_gallery_index_index
  • media_gallery_media_index

For more information about a layout in Magento 2, see the Layout documentation.

UI components

The configuration files located in the directory view/adminhtml/ui_component.

You can extend media gallery listing updates using the following configuration files:

  • media_gallery_listing
  • standalone_media_gallery_listing

This module extends ui components:

  • cms_block_listing
  • cms_page_listing
  • product_listing

For information about a UI component in Magento 2, see Overview of UI components.

Additional information

For information about significant changes in patch releases, see 2.4.x Release information.

Learn more about New Media Gallery.