bolt/thumbs

Small package based on GD to handle thumbnail resizes

Installs: 252 586

Dependents: 1

Suggesters: 0

Security: 0

Stars: 11

Watchers: 16

Forks: 15

3.4.0 2019-01-03 15:04 UTC

README

Image Thumbnail handler for Bolt

Installation

Bolt Thumbs is installed as a default dependency of Bolt. However, for use independently it can be included in your Composer project:

composer require bolt/thumbs:^3.4

Should you want to work with the development branch(es), you can specficy those as Composer requirements instead.

To install the 3.x development branch:

composer require bolt/thumbs:dev-3.x@dev

Alternatively to install the master branch (which requires Silex 2):

composer require bolt/thumbs:dev-master@dev

Configuration

If you've already got a working installation of Bolt, you can safely skip this.

To use the Botl Thumbs service provider onto your Silex based application, simply ->register() the \Bolt\Provider\ThumbnailsServiceProvider class in your registration phase, e.g.:

    /** @var \Silex\Application $app */
    $app->register(new \Bolt\Provider\ThumbnailsServiceProvider())