🎉 If you are still on v2, we offer attractive prices for all owners of a Kirby 2 license to upgrade to v3.
Upgrade your v2 license now
.
$file->bw($bw)
Converts the image to grayscale
since:
Kirby 2.3.0
return
($file)
Example
<?= $page->image()->bw()->html() ?>
↑
Cheat Sheet overview
←
$file->blur()
→
$file->createNewFilename($name, $safeName = true)
↓
Back to Cheat Sheet section
Top