Skip to content

Kirby 4.5.0

Dimensions::forImage()

Detect the dimensions for an image file

Dimensions::forImage(string $root): Kirby\Image\Dimensions

Parameters

Name Type Default
$root * string

Return type

Kirby\Image\Dimensions

Parent class

Kirby\Image\Dimensions