kinglozzer/silverstripe-inline-image-quality

This package is abandoned and no longer maintained. The author suggests using the chrometoaster/silverstripe-image-quality package instead.
There is no license information available for the latest version (1.0.1) of this package.

Allows setting image quality on a per-image basis in templates.

Installs: 116

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 1

Forks: 0

Open Issues: 0

Type:silverstripe-vendormodule

1.0.1 2018-07-06 11:04 UTC

This package is auto-updated.

Last update: 2020-02-04 12:32:31 UTC


README

Please use https://github.com/chrometoasters/silverstripe-image-quality instead

SilverStripe inline image quality

Allows setting image quality on a per-image basis in templates.

Installation

composer require kinglozzer/silverstripe-inline-image-quality:^1

Usage

Use with .Quality() in templates, passing a number between 0 and 100. For example:

<!-- Max image quality -->
{$CarouselImage.Quality(100).Fill(1280, 480)}

<!-- Low image quality -->
{$ObscuredImage.Quality(5).Fill(350, 350)}