Web Analytics

Fill the form & Get Installation Support

How to visible ‘/pub/media/import’ folder in ‘Insert Images’ section in admin panel of Magento 2?

Magento 2 is not having this by default setting to see import folder of pub/media in ‘Insert Images’ section under CMS Page or Blocks.

If you want to show import folder in CMS Page or Blocks then follow below steps.

Step 1 : Create file : app/code/Magemonkey/ImportFolder/registration.php

Step 2 : Create file : app/code/Magemonkey/ImportFolder/etc/module.xml

Step 3 : Create file : app/code/Magemonkey/ImportFolder/etc/di.xml

Step 4 : Remove or comment .htaccess file under import folder

After that run below commands

– php bin/magento setup:upgrade
– php bin/magento setup:static-content:deploy
– php bin/magento cache:clean

Thats it.

Now clean cache and check in admin side under CMS Page or Blocks ‘Insert Images’ section. Import folder should be visible there.

You can also use this folder image in CMS Page or Blocks

Fill the below form if you have any Magento programming need.





    Recent Articles

    Author Info

    Hire R. Patel

    Get a Free Quote





      /* second popup */

      Connect With Us