Skip to content

Kirby 4.5.0

$filename->dimensions()

Returns a normalized array with width and height values if available

$filename->dimensions(): array

Return type

array

Parent class

Kirby\Filesystem\Filename