❌ Kirby 2 no longer actively supported. Migrate to a current version and
upgrade your v2 license now
.
html::img($src, $attr = array())
Generates an img tag
$src
(string)
The url of the image
$attr
(array)
Additional attributes for the image tag
return
(string)
the generated html
↑
Toolkit API overview
←
html::entities
→
html::tag
↓
Back to Toolkit API section
Top