Skip to content

Kirby 5.1.4

$image->dimensions()

Returns the dimensions of the file if possible

$image->dimensions(): Kirby\Image\Dimensions

Return type

Kirby\Image\Dimensions

This method modifies the existing $image object it is applied to and returns it again.

Parent class

Kirby\Image\Image