Kirby 2 Docs
❌ Kirby 2 has reached its end of life. 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