Improved readability in README
Indented the list of options for better readability and updated the example URL to use a .svg file instead of a .png.
This commit is contained in:
parent
8fbbccfa21
commit
3c787b9236
14
README.md
14
README.md
@ -13,15 +13,15 @@ Small image proxy based on [intervetion/image](https://image.intervention.io) to
|
|||||||
|
|
||||||
Several options can be used
|
Several options can be used
|
||||||
|
|
||||||
fill => Background color
|
fill => Background color
|
||||||
w => the resulting width of the image
|
w => the resulting width of the image
|
||||||
h => the resulting height of the image
|
h => the resulting height of the image
|
||||||
cw => the resulting canvas width of the image
|
cw => the resulting canvas width of the image
|
||||||
ch => the resulting canvas height of the image
|
ch => the resulting canvas height of the image
|
||||||
url => the url of the original image (required)
|
url => the url of the original image (required)
|
||||||
|
|
||||||
** example **
|
** example **
|
||||||
|
|
||||||
Following will resize the gitea logo png to 600 by 600 with extra padding up to 800 by 800 and a light green background
|
Following will resize the gitea logo png to 600 by 600 with extra padding up to 800 by 800 and a light green background
|
||||||
|
|
||||||
"deploy_url"?fill=f2ffe5&w=600&h=600&cw=800&ch=800&url=https://about.gitea.com/gitea.png
|
"deploy_url"?fill=f2ffe5&w=600&h=600&cw=800&ch=800&url=https://about.gitea.com/gitea.svg
|
Loading…
Reference in New Issue
Block a user