Skip to content

Kirby 3.8.4

$dimensions->thumb()

Resize and crop

$dimensions->thumb(array $options = [ ]): Kirby\Image\Dimensions

Parameters

Name Type Default
$options array [ ]

Return type

Kirby\Image\Dimensions

This method does not modify the existing $dimensions object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Image\Dimensions