frosh/webp

WebP for Shopware

Installs: 17 085

Dependents: 0

Suggesters: 1

Security: 0

Stars: 34

Watchers: 6

Forks: 26

Open Issues: 10

Type:shopware-plugin

1.1.8 2023-01-28 14:03 UTC

This package is auto-updated.

Last update: 2024-04-25 17:02:43 UTC


README

Join the chat at https://gitter.im/FriendsOfShopware/Lobby Download @ Community Store

WebP Browser-Support

This plugin generates additional webp Thumbnails and uses is in various locations like detail, listing, emotion as preferred type using html5 picture tag. Browsers which does not support webp, will get normally jpg. After installation of the Plugin regenerating all thumbnails is required.

Requirements

  • Shopware Version 5.3+
  • any webp encoder
    • php-gd with webp support
    • cwebp executable in PATH

Installation

Zip Installation package for the Shopware Plugin Manager

  • Download the latest plugin version (e.g. FroshWebP-1.0.0.zip)
  • Upload and install plugin using Plugin Manager

Git Version

  • Checkout Plugin in /custom/plugins/FroshWebP
  • Change to Directory and run composer install to install the dependencies
  • Install the Plugin with the Plugin Manager

Install with composer

  • Change to your root Installation of shopware
  • Run command composer require frosh/webp and install and activate plugin with Plugin Manager

After Installation

  • Check if you have valid encoders with php bin/console frosh:webp:status
  • Download google binaries if neccessary php bin/console frosh:webp:download-google-binaries
  • Generate all Thumbnails new with php bin/console sw:thumbnail:generate -f