$filename->dimensions() Returns a normalized array with width and height values if available kirby/src/Filesystem/Filename.php#L200 $filename->dimensions(): array Return type array Parent class Kirby\Filesystem\Filename