6

I installed Magento 2.4.1. All is working fine but the newer feature that Media Gallery does not show any images.

Empty 'Manage Gallery' page

Is there any other configuration requires for seeing images? I disabled the old media gallery (see configuration):

Configuration page showing 'Enable Old Media Gallery' = No

Does anyone know how to fix this?

2
  • hi there, try to upload an image to a category or a CMS page, then go back to Content / Media / Manage Gallery and check if you see the images. Please let me know the result.
    – Diana
    Commented Feb 10, 2021 at 16:28
  • 1
    yes now its showing the category image which I uploaded...but what about product images?i want to see product images there. Commented Feb 11, 2021 at 3:33

2 Answers 2

9

After some research i found the solution for these.

After Set "No" to Enable Old Media Gallery option in Advanced->System section in system configuration

you need to run the following commands:

Run in console: php bin/magento media-gallery:sync
Run in console: php bin/magento media-content:sync

now images are displaying in media gallery..

1
  • glad to hear this! i also updated my initial answer to include the mention of the 2 consumers in a more visible place.
    – Diana
    Commented Feb 11, 2021 at 11:20
2

The new media gallery functionality is supposed to do what the regular media storage did, but with an enhanced UX and design. The images uploaded as category images will be displayed in here, as well as any image uploaded via the content editor (WYSIWYG) as part of an attribute content, a cms block or cms page content or by the page builder.

For products, only images which are uploaded in the content of attributes via the content editor (say inside the product description) will show here, and not the images set on the product as values for the base, small, thumbnail images or additional images. This is how the old media storage worked and how the new one does too.


LE: if you don't see your images from the old storage, make sure you follow the instructions the official documentation, as you will need to start the media.gallery.synchronization and media.content.synchronization queue consumers for the initialization of the media gallery.

7
  • Thank you for your response. Here my problem is that the new category images that I uploaded is only shown in media gallery..the old one category images before upgrade version is not shown there.. Commented Feb 11, 2021 at 10:12
  • did you run the media gallery queue consumers media.gallery.synchronization and media.content.synchronization?
    – Diana
    Commented Feb 11, 2021 at 10:14
  • Is this commands or cron run ? Commented Feb 11, 2021 at 10:18
  • in the initial documentation, there is a mention Full functionality for new Media Gallery requires media.gallery.synchronization and media.content.synchronization queue consumers to be started for initial synchronization. see docs.magento.com/user-guide/cms/… for details
    – Diana
    Commented Feb 11, 2021 at 10:20
  • can you please guide me how to start these 2 queues? Commented Feb 11, 2021 at 10:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.