Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/FriendsOfShopware/FroshWebp
WebP Support for Shopware
https://github.com/FriendsOfShopware/FroshWebp
Last synced: 3 months ago
JSON representation
WebP Support for Shopware
- Host: GitHub
- URL: https://github.com/FriendsOfShopware/FroshWebp
- Owner: FriendsOfShopware
- License: mit
- Archived: true
- Created: 2017-09-07T18:33:25.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2023-02-25T14:40:19.000Z (over 1 year ago)
- Last Synced: 2024-07-21T12:21:19.567Z (4 months ago)
- Language: PHP
- Homepage:
- Size: 417 KB
- Stars: 35
- Watchers: 6
- Forks: 25
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-shopware - WebP Support - Adds WebP Support to Shopware. (Frontend Plugins)
README
# WebP Support for Shopware
[![Join the chat at https://gitter.im/FriendsOfShopware/Lobby](https://badges.gitter.im/FriendsOfShopware/Lobby.svg)](https://gitter.im/FriendsOfShopware/Lobby)
[![Download @ Community Store](https://img.shields.io/badge/endpoint.svg?url=https://api.friendsofshopware.de/FroshWebP)](https://store.shopware.com/en/frosh50145464405f/webp-support.html)[WebP Browser-Support](https://caniuse.com/webp)
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](https://github.com/FriendsOfShopware/FroshWebP/releases/latest/) (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``