Метод |
Описание |
|
canUploadImages ( ) : boolean |
Check that we have the necessary tools to allow image uploading. |
|
clear ( ) |
|
|
imageIco ( $gd, $targetPath ) |
|
|
imageSize ( string $Path, string $Filename = false ) : array |
Gets the image size of a file. |
|
saveImageAs ( $Source, $Target, $Height = '', $Width = '', $Options = [] ) |
Saves the specified image at $Target in the specified format with the
specified dimensions (or the existing dimensions if height/width are not provided. |
|
validateUpload ( $InputName, $ThrowError = true ) |
Validates the uploaded image. Returns the temporary name of the uploaded file. |
|