Skip to content

runelaenen/sw6-media-optimizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

8 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Image Optimizer for Shopware 6

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