$file->thumb($params)

Sets all parameters for the thumb generator at once.

Example

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