# projects/izon-core-devel-sandbox/htdocs/vendor/izon/thumber/srcfunctions.php

image resizing functions

## Tags

None found

## Functions

### getThumbnail()

    getThumbnail(\IZON\IO\Image|string  sourceImage, mixed||string|int  parameters = []) :

Return image url for source path or Image object

#### Parameters

\IZON\IO\Image|string | sourceImage | source Image Object or path to image file with first "/" path_to_file
mixed||string|int | parameters | parameters for resizing of image, supported settings: width => integer, height => integer, type => [cover|contain], default is contain, quality = number, default = 90 for example: ["width" => 1234, "height" => 1234, "type" => "contain"]

#### Returns

—

#

File
  projects/izon-core-devel-sandbox/htdocs/vendor/izon/thumber/src/functions.php

## Tags

package | \

### getThumb()

    getThumb(\IZON\IO\Image|string  sourceImage, mixed||string|int  parameters = []) :

Only wrapper for getThumbnail, for more detail see there

#### Parameters

\IZON\IO\Image|string | sourceImage | source Image Object or path to image file with first "/"
mixed||string|int | parameters | parameters for resizing of image, supported settings: width => integer, height => integer, type => [cover|contain], default is contain, quality = number, default = 90, max is 100 - create image without any compression for example: ["width" => 1234, "height" => 1234, "type" => "contain"]

#### Returns

—

#

File
  projects/izon-core-devel-sandbox/htdocs/vendor/izon/thumber/src/functions.php

## Tags

package | \

###