Skip to content

Kirby 4.2.0

$image->extension()

Returns the current lowercase extension (without .)

$image->extension(): string

Return type

string

Parent class

Kirby\Image\Image inherited from Kirby\Filesystem\File