Skip to content

Magetno 2.4.3-p3 no folders show up in wysiwig interface – where to put new config.xml

No folders show up in wysiwig interface in 2.4.3-p3

I have read this –> https://developer.adobe.com/commerce/php/tutorials/backend/modify-image-library-permissions/
and this –> Media folders missing from admin in 2.4.3-p3 update

Does anyone know exactly where to add the new config.xml file to be able to see the images and folders in the CMS media library tool?

Inside my directory at /public_html/app/code there are 2 directorys. Mageplaza and Smartwave.

/public_html/app/code/Mageplaza
/public_html/app/code/Smartwave

Where should I put the new config.xml? Do I have to create a new directory or put it in an existing one?

If I’m adding a configuration for the media viewer in the CMS would I have to create a directory path that emulates one from another location?

I’m completely confused here. Can some please tell me the exact path? Like, pretend I don’t know anything about Magento! lol

Also, do I need to use this code over and over for each new directory inside the wysiwig directory or does it cover all the new directories I create?

<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Store:etc/config.xsd">
   <default>   
      <system>
         <media_storage_configuration>
            <allowed_resources>
               <media_gallery_image_folders>
                  <!-- new "Media Gallery Allowed" folders -->
                  <my_image_folder>wysiwyg</my_image_folder>
                  <my_catalog_image_folder>media/wysiwyg</my_catalog_image_folder>
               </media_gallery_image_folders>
            </allowed_resources>
         </media_storage_configuration>
      </system>
   </default>
</config>