public thumbnail ( string $fileName = null, string | integer $width = null, string | integer $height = null, string $crop = null ) : string | ||
$fileName | string | Target filename |
$width | string | integer | Target width |
$height | string | integer | Target height |
$crop | string | Zooming and cropping: Set to 'f(it)', 'b(orders)', 'r(esize)' or 'c(rop)' Set width or height parameter to '0' for proportional scaling Setting them to '' uses default values. |
Результат | string | Relative URL of the thumbnail |