Media Gallery Folder for Magento 2
magenizr/magento2-mediagalleryfolder
Adds an interface to expose additional directories in the Magento media gallery beyond the default wysiwyg and catalog folders, without custom development.
Build Tests
Code Quality
Tested on Magento 2.4.9
Recent Test History
Each release is tested against the latest Magento version at that time.
Top Contributors
View LeaderboardShare This Module's Status
README
Loaded from GitHubMedia Gallery Folder
Magento allows the media gallery access to the directory wysiwyg and catalog only. Unfortunately, other directories cannot be added easily, unless you create a module as explained in Modify media library folder permissions
which is not suitable for most store owners.
We decided to close this problem by creating an interface where directories can be added easily to the Media Gallery.
Business Value
- No development work required.
- Practical for small businesses, which cannot afford expensive agency support.
System Requirements
- Magento 2.4.3-p1 or higher
- PHP 7.x
Installation (Composer 2)
- Update your composer.json
composer require "magenizr/magento2-mediagalleryfolder":"1.0.0" --no-update - Use
composer update --no-installto update your composer.lock file.
Updating dependencies
Lock file operations: 1 install, 1 update, 0 removals
- Locking magenizr/magento2-mediagalleryfolder (1.0.0)
- And then
composer installto install the package.
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Package operations: 1 install, 0 update, 0 removals
- Installing magenizr/magento2-mediagalleryfolder (1.0.0): Extracting archive
- Enable the module and clear static content.
php bin/magento module:enable Magenizr_MediaGalleryFolder --clear-static-content
php bin/magento setup:upgrade
Installation (Manually)
- Download the code.
- Extract the downloaded tar.gz file. Example:
tar -xzf Magenizr_MediaGalleryFolder_1.0.0.tar.gz. - Copy the code into
./app/code/Magenizr/MediaGalleryFolder/. - Enable the module and clear static content.
php bin/magento module:enable Magenizr_MediaGalleryFolder --clear-static-content
Features
- Module can be disabled any time without touching the
config.phpfile. - Add as many directories as you want.
Usage
- Navigate to
Stores > Configuration > Advanced > System > Media Gallery Folder - Enable the module
- Add your directory ( relatively from
pub/media) and give it a label - Clear the cache
- After that you should see the directory in your Media Gallery
Roadmap
- Restrict directories to specific admin roles
Support
If you experience any issues, don't hesitate to open an issue on Github. For a custom build, don't hesitate to contact us on Magento Marketplace.
History
===== 1.0.0 =====
- Stable version
License
OSL - Open Software Licence 3.0
About Magenizr
Built and maintained by Magenizr — an Australian Adobe Commerce & Magento development agency based in Bendigo, Victoria. We build custom Magento modules, handle platform migrations, and provide ongoing support for businesses across Melbourne, Sydney, Brisbane and the DACH region.
- Our Services — Custom modules, migrations, support
- Book a Free Consultation — 30-minute call, no obligation
- All Open-Source Modules — Our full collection on GitHub
Über Magenizr
Entwickelt und gepflegt von Magenizr — einer australischen Magento & Adobe Commerce Agentur mit Fokus auf die DACH-Region. Wir entwickeln individuelle Magento-Module, übernehmen Plattform-Migrationen und bieten laufenden Support für Unternehmen in Berlin, Hamburg, München, Frankfurt, Köln, Stuttgart, Düsseldorf, Wien, Graz, Salzburg, Zürich, Basel und Bern.
- Unsere Leistungen — Module, Migrationen, Support
- Kostenlose Erstberatung — 30 Minuten, unverbindlich
- Alle Open-Source-Module — Unsere komplette Sammlung auf GitHub
This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.