Property | Type | Description | |
---|---|---|---|
$asset | |||
$config | |||
$deferred | boolean | ||
$filesystemPath | mixed | string | ||
$height | integer | ||
$page | integer | ||
$realHeight | integer | ||
$realWidth | integer | ||
$width | integer |
Method | Description | |
---|---|---|
__construct ( $asset, $config = null, integer $page = 1, boolean $deferred = true ) | ImageThumbnail constructor. | |
__toString ( ) : string | Get the public path to the thumbnail image. | |
generate ( ) | ||
getAsset ( ) : |
||
getConfig ( ) : |
Get thumbnail image configuration. | |
getDimensions ( ) : array | ||
getFileSystemPath ( ) : mixed | string | ||
getHeight ( ) : integer | Get the width of the generated thumbnail image in pixels. | |
getPath ( ) : mixed | ||
getRealHeight ( ) : integer | Get the real width of the generated thumbnail image in pixels. (when using high resolution option) | |
getRealWidth ( ) : integer | ||
getWidth ( ) : integer | ||
reset ( ) |
Method | Description | |
---|---|---|
createConfig ( $selector ) : boolean | static |
public __construct ( $asset, $config = null, integer $page = 1, boolean $deferred = true ) | ||
$asset | ||
$config | ||
$page | integer | |
$deferred | boolean |
public __toString ( ) : string | ||
return | string | Public path to thumbnail image. |
protected createConfig ( $selector ) : boolean | static | ||
$selector | ||
return | boolean | static |
public getAsset ( ) : |
||
return | The original image from which this thumbnail is generated. |
public getConfig ( ) : |
||
return |
public getFileSystemPath ( ) : mixed | string | ||
return | mixed | string |
public getRealHeight ( ) : integer | ||
return | integer | Height of the generated thumbnail image. |
public getRealWidth ( ) : integer | ||
return | integer | real Width of the generated thumbnail image. (when using high resolution option) |
protected Video,Pimcore\Model\Asset $asset | ||
return |
protected Config,Pimcore\Model\Asset\Image\Thumbnail $config | ||
return |