zamoroka / module-production-images
Magento 2 module: Get only necessary images from production. No need to download whole media folder
Installs: 12 281
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 2
Forks: 0
Open Issues: 0
Type:magento2-module
pkg:composer/zamoroka/module-production-images
Requires
- php: >=7.4
- magento/framework: ^100.1||^101.0||^102.0||^103.0
Requires (Dev)
- magento/magento-coding-standard: ^5.0
- squizlabs/php_codesniffer: ^3.5.0
README
Installation
composer require zamoroka/module-production-images --dev
Configuration
- Enable module
bin/magento module:enable Zamoroka_ProductionImages bin/magento config:set production_images/general/enabled 1
- Provide production media URL under
Store -> Configuration -> Zamoroka -> Production images -> Production media URL. e.g https://example.com/media/ or using command
bin/magento config:set production_images/general/production_media_url "https://example.com/media/"
- Clear config and image cache
bin/magento cache:flush