Stratus Magento 2 Guides - Magento 2.4.x Media Gallery
In Magento 2.4.x, merchants can use the an enhanced Media Gallery to organize and manage their media files on the server. This new Media Gallery contains the same functionalities as the existing Media Storage, but includes an improved user interface and a closer integration with Adobe Stock.
You can read more about using the gallery here.
Full functionality for new Media Gallery requires media.gallery.synchronization and media.content.synchronization queue consumers to be started for initial synchronization. Configuration in your env.php should look similar to this in order to run these consumers.
'cron_consumers_runner' => [ 'cron_run' => true, 'max_messages' => 0, 'consumers' => [ 'async.operations.all', 'product_action_attribute.update', 'product_action_attribute.website.update', 'exportProcessor', 'negotiableQuotePriceUpdate', 'sharedCatalogUpdatePrice', 'sharedCatalogUpdateCategoryPermissions', 'quoteItemCleaner', 'inventoryQtyCounter', 'media.storage.catalog.image.resize', 'media.content.synchronization', 'media.gallery.renditions.update', 'media.gallery.synchronization', 'codegeneratorProcessor' ] ],
By default, Magento uses Mysql as a broker for processing consumers. You can gain a significant performance increase by configuring RabbitMQ as the broker for consumers instead. Please see the Webscale patch repo for instructions.
Was this page helpful?
Glad to hear it! Have any more feedback? Please share it here.
Sorry to hear that. Have any more feedback? Please share it here.
Last modified January 1, 0001