- Documentation >
- Search >
- Search Criteria reference >
- ImageOrientation
Image Orientation Criterion
The Orientation
Search Criterion searches for image with specified orientation(s).
Supported orientation values: landscape, portrait and square.
Arguments
fielDefIdentifier
- string representing the identifier of the field
orientation
- strings representing orientations
Example
PHP
| $query->query = new Criterion\Orientation('image', 'landscape');
OR
$orientations = [
'landscape',
'portrait',
];
$query->query = new Criterion\Orientation('image', $orientations);
|
REST API