magenizr / magento2-mediagalleryfolder
Make your directories from pub/media available in the Media Gallery without workarounds.
Fund package maintenance!
Patreon
Installs: 837
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento2-module
This package is auto-updated.
Last update: 2024-11-13 05:26:25 UTC
README
Media 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-install
to 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 install
to 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.php
file. - 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.
Purchase
This module is available for free on GitHub. If you purchase the module on Magenizr Shop or Magento Marketplace we offer 60 days free support, 90 days warranty and 12 month free updates.
Contact
Follow us on GitHub, Twitter and Facebook.
History
===== 1.0.0 =====
- Stable version