Browse Source

gravity_type => type in docs

DarthSim 4 years ago
parent
commit
8f990acab4
1 changed files with 3 additions and 3 deletions
  1. 3 3
      docs/generating_the_url_advanced.md

+ 3 - 3
docs/generating_the_url_advanced.md

@@ -133,13 +133,13 @@ Default: `false:ce:0:0`
 #### Gravity
 #### 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.
 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);
   * `no`: north (top edge);
   * `so`: south (bottom edge);
   * `so`: south (bottom edge);
   * `ea`: east (right edge);
   * `ea`: east (right edge);