❌ Kirby 2 no longer actively supported. Migrate to a current version and
upgrade your v2 license now
.
$dimension->height()
Returns the height in pixels
return
(integer)
Example
<?= $page->image()->height() ?>
↑
Cheat Sheet overview
←
$dimension->fitWidthAndHeight()
→
$dimension->landscape()
↓
Back to Cheat Sheet section
Top