Skip to content

Kirby 6.0.0

Dimensions::forImage()

Detect the dimensions for an image file

Dimensions::forImage(Image $image): Dimensions

Parameters

Name Type Default
$imagerequired Kirby\Image\Image no default value

Return type

Kirby\Image\Dimensions

Parent class

Kirby\Image\Dimensions