2017 © Pedro Peláez
 

magento2-module magento2-image-optimizer

Magento2 Image Optimizer

image

fruitcake/magento2-image-optimizer

Magento2 Image Optimizer

  • Thursday, September 14, 2017
  • by Barryvdh
  • Repository
  • 2 Watchers
  • 4 Stars
  • 23 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 1 Versions
  • 15 % Grown

The README.md

Optimize Catalog images with Magento2

Based on Spatie Image Optimizer., (*1)

This package adds 2 new Image Adapters to Magento2 in Store -> Configuration -> Advanced -> Developer -> Image Processing: - GD2 + Optimizer - ImageMagick + Optimizer, (*2)

By using either of those instead of the default, the images will be automatically optimized., (*3)

Note: This is an alpha package, use with caution., (*4)

Installation

You can install this module via composer:, (*5)

composer require fruitcake/magento2-image-optimizer:"0.1.x@dev"

Enable the module (and reset cache/di etc), (*6)

php bin/magento module:enable Fruitcake_ImageOptimizer

You can now select and Image Adapter that includes the Optimizer., (*7)

Before images can be optimized, you will need to install the Optimizers as described in https://github.com/spatie/image-optimizer#optimization-tools, (*8)

Usage

When you upload new images, they will be processed using the Adapter. If you want to make any changes, you can delete your cache and re-generate the thumbnails, (*9)

php bin/magento catalog:images:resize

Todo

  • [ ] Process WYSIWYG images
  • [ ] Command to re-generate existing images or process directories

Security

If you discover any security related issues, please email barry@fruitcake.nl directly., (*10)

License

The MIT License (MIT). Please see License File for more information., (*11)

The Versions

14/09 2017

dev-master

9999999-dev

Magento2 Image Optimizer

  Sources   Download

MIT

The Requires