Skip to content

Kirby 4.2.0

$image->width()

Returns the width of the asset

$image->width(): int

Return type

int

Parent class

Kirby\Image\Image