$file->thumb($params)

Sets all parameters for the thumb generator at once.

  • since: Kirby 2.3.0
  • return ($file)

Example

<?= $page->image()->thumb([
  'width'   => 300, 
  'height'  => 200, 
  'quality' => 80
])->html() ?>