Skip to content

Kirby 3.6.6

Media::thumb()

Tries to find a job file for the given filename and then calls the thumb component to create a thumbnail accordingly

Media::thumb(\Kirby\Cms\Model|string $model, string $hash, string $filename): Kirby\Cms\Response|false

Parameters

Name Type Default
$model * Kirby\Cms\Model|string
$hash * string
$filename * string

Return type

Kirby\Cms\Response|false

Parent class

Kirby\Cms\Media