Adds Support Automatic Generation of WebP Images in Silverstripe


Repository: https://github.com/webbuilders-group/silverstripe-next-gen-images

Packagist: http://packagist.org/packages/webbuilders-group/silverstripe-next-gen-images

Issues: https://github.com/webbuilders-group/silverstripe-next-gen-images/issues

Authors: Ed Chipman

3 3 321


Readme

Next Gen Images for Silverstripe

CI

Adds Support Automatic Generation of WebP Images in Silverstripe

Maintainer Contact

Requirements

Installation

composer require webbuilders-group/silverstripe-next-gen-images

Usage

By default this module replaces the shortcode used when you insert an image in the WYSIWYG and when you use an image in your templates with markup that automatically generates a <picture> tag with a WebP file as one of the sources (falling back to the originally uploaded image). This module also enables uploading of WebP images and use in the WYSIWYG in supporting browsers but they do not use the <picture> tag when you use a WebP image.

You can also call getWebP on the SilverStripe\Assets\Image class or WebP in your templates for example $MyImage.WebP or even $MyImage.ScaleWidth(100).WebP. After you have the WebP you can continue to call other operations on the WebP just like you would any other image, for example $MyImage.WebP.URL.


Versions

dev-master
2022-48-7 2459618: UTC
BSD-3-Clause

Install composer require webbuilders-group/silverstripe-next-gen-images dev-master

Manual Install: Download

Requires
  • silverstripe/assets: ~1.9
1.x-dev
2023-40-28 2460124: UTC
BSD-3-Clause

Install composer require webbuilders-group/silverstripe-next-gen-images 1.x-dev

Manual Install: Download

Requires
  • silverstripe/assets: ~1.9
2.1.0
2024-58-7 2460622: UTC
BSD-3-Clause

Install composer require webbuilders-group/silverstripe-next-gen-images 2.1.0

Manual Install: Download

Requires
  • silverstripe/assets: ~2.2
2.0.1
2024-28-9 2460593: UTC
BSD-3-Clause

Install composer require webbuilders-group/silverstripe-next-gen-images 2.0.1

Manual Install: Download

Requires
  • silverstripe/assets: ~2.2
2.0.0
2024-37-16 2460447: UTC
BSD-3-Clause

Install composer require webbuilders-group/silverstripe-next-gen-images 2.0.0

Manual Install: Download

Requires
  • silverstripe/assets: ~2.2
1.0.2
2023-40-28 2460124: UTC
BSD-3-Clause

Install composer require webbuilders-group/silverstripe-next-gen-images 1.0.2

Manual Install: Download

Requires
  • silverstripe/assets: ~1.9
1.0.1
2022-19-24 2459724: UTC
BSD-3-Clause

Install composer require webbuilders-group/silverstripe-next-gen-images 1.0.1

Manual Install: Download

Requires
  • silverstripe/assets: ~1.9
1.0.0
2022-3-7 2459618: UTC
BSD-3-Clause

Install composer require webbuilders-group/silverstripe-next-gen-images 1.0.0

Manual Install: Download

Requires
  • silverstripe/assets: ~1.9