Skip to content

Kirby 4.4.1

$image->html()

Converts the file to html

$image->html(array $attr = [ ]): string

Parameters

Name Type Default
$attr array [ ]

Return type

string

Parent class

Kirby\Image\Image