runelaenen/sw6-media-optimizer

Media Optimizer for Shopware 6

Installs: 2 796

Dependents: 0

Suggesters: 0

Security: 0

Stars: 27

Watchers: 5

Forks: 6

Open Issues: 5

Type:shopware-platform-plugin

1.0.1 2021-02-19 16:13 UTC

This package is auto-updated.

Last update: 2024-04-26 21:13:25 UTC


README

Latest Stable Version Download plugin zip Total Downloads GitHub Issues GitHub Stars License

Image Optimizer for Shopware 6

Optimize image files using spatie/image-optimizer. This package can optimize PNGs, JPGs, SVGs and GIFs by running them through a chain of various image optimization tools. This Shopware plugin uses it's power to optimize the original files uploaded to your Shopware webshop. It doesn't touch any generated (thumbnail) files and thus will not have a lot of impact on the frontend of your website.

Optimization tools

The package will use these optimizers if they are present on your system:

Please take a look at the README of spatie/image-optimizer to find out how to install these optimizers on your system.

How to install

Composer install (recommended)

composer require runelaenen/sw6-media-optimizer
bin/console plugin:refresh
bin/console plugin:install --activate RuneLaenenMediaOptimizer

You can now run the optimizer

bin/console rl:media:optimize

Tip: use the --info option to show all enabled optimizers.

Plugin update (composer)

composer update runelaenen/sw6-media-optimizer
bin/console plugin:update RuneLaenenMediaOptimizer

.zip install

  1. Download the latest RuneLaenenMediaOptimizer.zip from the latest release.
  2. Upload the zip in the Shopware Administration
  3. Install & Activate the plugin

Plugin update (zip)

  1. Download the latest RuneLaenenMediaOptimizer.zip from the latest release.
  2. Upload the zip in the Shopware Administration
  3. Update the plugin