public function AFile::getImageHeight in N1ED - Visual editor as CKEditor plugin with Bootstrap support 7
3 calls to AFile::getImageHeight()
- AFile::getData in vendor/
edsdk/ file-uploader-server-php/ src/ lib/ file/ AFile.php - FileCommited::applySizes in vendor/
edsdk/ file-uploader-server-php/ src/ lib/ file/ FileCommited.php - FileCommited::resizeImage in vendor/
edsdk/ file-uploader-server-php/ src/ lib/ file/ FileCommited.php
File
- vendor/
edsdk/ file-uploader-server-php/ src/ lib/ file/ AFile.php, line 133
Class
Namespace
EdSDK\FileUploaderServer\lib\fileCode
public function getImageHeight() {
if ($size = @getimagesize($this
->getFullPath())) {
return $size === null ? -1 : $size[1];
}
else {
throw new MessageException(Message::createMessage(Message::IMAGE_PROCESS_ERROR));
}
}