Skip to content

Kirby 4.3.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