Back to Magento2

Magento_MediaStorage module

app/code/Magento/MediaStorage/README.md

2.4.81.9 KB
Original Source

Magento_MediaStorage module

This module implements functionality related with uploading media files and synchronizing them with the database.

Installation

Before installing this module, note that the Magento_MediaStorage module is dependent on the following modules:

  • Magento_Catalog
  • Magento_Theme

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

Structure

App/ - the directory that contains launch application entry point.

For information about a typical file structure of a module, see Module file structure.

Extensibility

Extension developers can interact with the Magento_MediaStorage module. For more information about the extension mechanism, see Plugins.

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

Additional information

Console commands

  • bin/magento catalog:images:resize - creates resized product images.

Message Queue Consumer

  • media.storage.catalog.image.resize - creates resized product images.

Learn how to manage Message Queues.

More information can get at articles: