❌ Kirby 2 no longer actively supported. Migrate to a current version and
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