FileValidatorImage::isValidSize()

Does the image have size dimensions that fit minWidth, minHeight, maxWidth, maxHeight?

Usage

$bool = $fileValidatorImage->isValidSize(string $filename);

Arguments

NameType(s)Description
$filenamestring

Return value

bool


FileValidatorImage methods and properties

API reference based on ProcessWire core version 3.0.269