Property | Type | Description | |
---|---|---|---|
$imageService | |||
$persistenceManager | Neos\Flow\Persistence\PersistenceManagerInterface | ||
$presets | boolean | ||
$resourceManager | |||
$systemLogger | Neos\Flow\Log\SystemLoggerInterface | ||
$thumbnailCache | array | ||
$thumbnailRepository |
Method | Description | |
---|---|---|
getPresets ( ) : array | ||
getThumbnail ( Neos\Media\Domain\Model\AssetInterface $asset, |
Returns a thumbnail of the given asset | |
getThumbnailConfigurationForPreset ( string $preset, boolean $async = false ) : |
||
getUriForThumbnail ( Neos\Media\Domain\Model\ImageInterface $thumbnail ) : string | ||
refreshThumbnail ( |
Refreshes a thumbnail and persists the thumbnail |
Method | Description | |
---|---|---|
emitThumbnailCreated ( |
Signals that a thumbnail was created. |
protected emitThumbnailCreated ( |
||
$thumbnail | ||
return | void |
public getPresets ( ) : array | ||
return | array | Returns preset configuration for all presets |
public getThumbnail ( Neos\Media\Domain\Model\AssetInterface $asset, |
||
$asset | Neos\Media\Domain\Model\AssetInterface | The asset to render a thumbnail for |
$configuration | ||
return | Neos\Media\Domain\Model\ImageInterface |
public getThumbnailConfigurationForPreset ( string $preset, boolean $async = false ) : |
||
$preset | string | The preset identifier |
$async | boolean | |
return |
public getUriForThumbnail ( Neos\Media\Domain\Model\ImageInterface $thumbnail ) : string | ||
$thumbnail | Neos\Media\Domain\Model\ImageInterface | |
return | string |
public refreshThumbnail ( |
||
$thumbnail | ||
return | void |
protected ImageService,Neos\Media\Domain\Service $imageService | ||
return |
protected PersistenceManagerInterface,Neos\Flow\Persistence $persistenceManager | ||
return | Neos\Flow\Persistence\PersistenceManagerInterface |
protected ResourceManager,Neos\Flow\ResourceManagement $resourceManager | ||
return |
protected SystemLoggerInterface,Neos\Flow\Log $systemLogger | ||
return | Neos\Flow\Log\SystemLoggerInterface |