Skip to content

Commit

Permalink
buaazp: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
buaazp committed Sep 10, 2014
1 parent d77b0bd commit df11c50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ http://demo.buaa.us/5f189d8ec57f5a5a0d3dcba47fa797e2?w=500&h=500&g=1&x=0&y=0&r=4

- The parameters contain width, height, resize type, gray, crop postion (x, y), rotate, quality and format. And you can control the default type of images by configuration file.
And you can get the information of image in zimg server like this:
http://demo.buaa.us/5f189d8ec57f5a5a0d3dcba47fa797e2?info=1
http://demo.buaa.us/info?md5=5f189d8ec57f5a5a0d3dcba47fa797e2

- If you want to customize the transform rule of image you can write a zimg-lua script. Use `t=type` parameter in your URL to get the special image:
[http://demo.buaa.us/5f189d8ec57f5a5a0d3dcba47fa797e2?t=webp500](http://demo.buaa.us/5f189d8ec57f5a5a0d3dcba47fa797e2?t=webp500)
Expand Down

0 comments on commit df11c50

Please sign in to comment.