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