bhofstaetter/image-tweaks

opinionated improvements to work with images in Silverstripe

Installs: 15

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Forks: 0

Type:silverstripe-vendormodule

1.0.0 2022-12-12 23:16 UTC

This package is auto-updated.

Last update: 2024-12-15 04:41:56 UTC


README

This module includes several, opinionated improvements to work with images in Silverstripe

Installation

composer require bhofstaetter/image-tweaks

Installing the utilities on Ubuntu:

sudo apt install jpegoptim optipng pngquant gifsicle imagemagick

Installing the utilities on Alpine Linux:

apk add jpegoptim optipng pngquant gifsicle imagemagick

Contents

  • `PadMax` image manipulation
  • Scales down all uploaded images to 4K resolution
  • Optimize all uploaded images
  • Reduces CMS image thumbnail dimensions
  • Reduces image quality to 90%
    • more features from included modules

Configuration

See `config.yml and injectsions.yml` or refer to the included models readme file

Included Modules

Todo