Skip to content

Commit

Permalink
refactor(controller): add height for smart crop form
Browse files Browse the repository at this point in the history
  • Loading branch information
h2non committed May 27, 2017
1 parent d241c1f commit eea349c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func formController(w http.ResponseWriter, r *http.Request) {
{"Resize", "resize", "width=300&height=200&type=jpeg"},
{"Force resize", "resize", "width=300&height=200&force=true"},
{"Crop", "crop", "width=300&quality=95"},
{"SmartCrop", "crop", "width=300&quality=95&gravity=smart"},
{"SmartCrop", "crop", "width=300&height=260&quality=95&gravity=smart"},
{"Extract", "extract", "top=100&left=100&areawidth=300&areaheight=150"},
{"Enlarge", "enlarge", "width=1440&height=900&quality=95"},
{"Rotate", "rotate", "rotate=180"},
Expand Down

0 comments on commit eea349c

Please sign in to comment.