Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 17 additions & 17 deletions src/Forms/ImageField.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,25 @@ class ImageField extends BaseField
*/
private static $fallback_gravity_options = [
'' => '',
'auto' => 'Auto',
'auto' => 'Auto => Automatically identify the most interesting regions',
'auto:face' => 'Auto (Face)',
'auto:faces' => 'Auto (Faces)',
'auto:no_faces' => 'Auto (No Faces)',
'center' => 'Center',
'east' => 'East',
'face' => 'Face',
'faces' => 'Faces',
'face:auto' => 'Face (Auto)',
'faces:auto' => 'Faces (Auto)',
'face:center' => 'Face (Center)',
'faces:center' => 'Faces (Center)',
'north' => 'North',
'north_east' => 'North East',
'north_west' => 'North West',
'south' => 'South',
'south_east' => 'South East',
'south_west' => 'South West',
'west' => 'West',
'auto:no_faces' => 'Auto (No Faces) => Same as auto but avoids focusing on faces',
'center' => 'Center => Sets focal point to center',
'east' => 'East => Sets focal point to right',
'face' => 'Face => Automatically detect the largest face in an image',
'faces' => 'Faces => Same as face, but detects all the faces in an image',
'face:auto' => 'Face (Auto) => Same as face, but defaults to auto if no face is detected',
'faces:auto' => 'Faces (Auto) => Same as faces, but defaults to auto if no face is detected',
'face:center' => 'Face (Center) => Same as face, but defaults to center if no face is detected',
'faces:center' => 'Faces (Center) => Same as faces, but defaults to center if no face is detected',
'north' => 'North => Sets focal point to top',
'north_east' => 'North East => Sets focal point to top right',
'north_west' => 'North West => Sets focal point to top left',
'south' => 'South => Sets focal point to bottom',
'south_east' => 'South East => Sets focal point to bottom right',
'south_west' => 'South West => Sets focal point to bottom left',
'west' => 'West => Sets focal point to left',
];

/**
Expand Down