ImageSizer::croppingValue()

Given an unknown cropping value, return the validated internal representation of it

Needed for backwards compatibility.

Usage

$string = ImageSizer::croppingValue($cropping);

Arguments

NameType(s)Description
$croppingstring bool array

Return value

string bool


ImageSizer methods and properties

API reference based on ProcessWire core version 3.0.251