mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-01-23 11:14:48 +02:00
gravity_type => type in docs
This commit is contained in:
parent
be26e10ce5
commit
8f990acab4
@ -133,13 +133,13 @@ Default: `false:ce:0:0`
|
||||
#### Gravity
|
||||
|
||||
```
|
||||
gravity:%gravity_type:%x_offset:%y_offset
|
||||
g:%gravity_type:%x_offset:%y_offset
|
||||
gravity:%type:%x_offset:%y_offset
|
||||
g:%type:%x_offset:%y_offset
|
||||
```
|
||||
|
||||
When imgproxy needs to cut some parts of the image, it is guided by the gravity.
|
||||
|
||||
* `gravity_type` - specifies the gravity type. Available values:
|
||||
* `type` - specifies the gravity type. Available values:
|
||||
* `no`: north (top edge);
|
||||
* `so`: south (bottom edge);
|
||||
* `ea`: east (right edge);
|
||||
|
Loading…
x
Reference in New Issue
Block a user