Skip to content

Kirby 5.0.2

$filename->dimensions()

Returns a normalized array with width and height values if available

$filename->dimensions(): array

Return type

array

Parent class

Kirby\Filesystem\Filename