Skip to content

Kirby 4.2.0

$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