Kirby 2 Docs
❌ Kirby 2 has reached its end of life. Migrate to a current version and
upgrade your v2 license now
.
dimensions::resize($width, $height)
Recalculates the dimensions by width and height
$width
(int)
$width
(int)
return
(Dimensions)
↑
Toolkit API overview
←
dimensions::ratio
→
dimensions::square
↓
Back to Toolkit API section
Top