Given an unknown cropping value, return the validated internal representation of it
Needed for backwards compatibility.
Usage
$string = ImageSizer::croppingValue($cropping);
Arguments
Name | Type(s) | Description |
---|---|---|
cropping | string, bool, array |
Return value
string
bool
ImageSizer methods and properties
API reference based on ProcessWire core version 3.0.236