Méthode |
Description |
|
ensureCacheDirExists ( ) |
Ensures that the image cache directory exists. |
|
fitWithin ( UploadedFile $image, integer $width, integer $height, boolean $padding = false ) : string |
Scales the image to fit within the given size. |
|
getImageAction ( Request $request, $id ) : ImageResponse | Response |
|
|
getImageCacheDirectory ( ) : string |
Returns the path to the image cache directory. |
|
getImageCacheFilename ( UploadedFile $image, integer $width, integer $height, string $mode ) : string |
Returns the path to an image which has been cached in a particular width, height and mode. |
|