Skip to content

Commit 5e30ba1

Browse files
authored
Merge pull request #24 from TheLearneer/master
Fix parameter name for border
2 parents 2bcaa9f + 2a2c065 commit 5e30ba1

File tree

2 files changed

+46
-46
lines changed

2 files changed

+46
-46
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ The complete list of transformations supported and their usage in ImageKit can b
202202
| format | f |
203203
| radius | r |
204204
| background | bg |
205-
| border | bo |
205+
| border | b |
206206
| rotation | rt |
207207
| blur | bl |
208208
| named | n |

src/constants/supportedTransforms.js

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,58 @@
11
export default {
2-
"height" : "h",
3-
"width" : "w",
4-
"aspectRatio" : "ar",
5-
"quality" : "q",
6-
"crop" : "c",
7-
"cropMode" : "cm",
8-
"x" : "x",
9-
"y" : "y",
10-
"focus" : "fo",
11-
"format" : "f",
12-
"radius" : "r",
13-
"background" : "bg",
14-
"border" : "bo",
15-
"rotation" : "rt",
16-
"rotate" : "rt",
17-
"blur" : "bl",
18-
"named" : "n",
19-
"overlayImage" : "oi",
20-
"overlayImageAspectRatio" : "oiar",
2+
"height": "h",
3+
"width": "w",
4+
"aspectRatio": "ar",
5+
"quality": "q",
6+
"crop": "c",
7+
"cropMode": "cm",
8+
"x": "x",
9+
"y": "y",
10+
"focus": "fo",
11+
"format": "f",
12+
"radius": "r",
13+
"background": "bg",
14+
"border": "b",
15+
"rotation": "rt",
16+
"rotate": "rt",
17+
"blur": "bl",
18+
"named": "n",
19+
"overlayImage": "oi",
20+
"overlayImageAspectRatio": "oiar",
2121
"overlayImageBackground": "oibg",
2222
"overlayImageBorder": "oib",
2323
"overlayImageDPR": "oidpr",
2424
"overlayImageQuality": "oiq",
2525
"overlayImageCropping": "oic",
26-
"overlayImageTrim" : "oit",
27-
"overlayX" : "ox",
28-
"overlayY" : "oy",
29-
"overlayFocus" : "ofo",
30-
"overlayHeight" : "oh",
31-
"overlayWidth" : "ow",
32-
"overlayText" : "ot",
33-
"overlayTextFontSize" : "ots",
34-
"overlayTextFontFamily" : "otf",
35-
"overlayTextColor" : "otc",
36-
"overlayTextTransparency" : "oa",
37-
"overlayAlpha" : "oa",
38-
"overlayTextTypography" : "ott",
39-
"overlayBackground" : "obg",
26+
"overlayImageTrim": "oit",
27+
"overlayX": "ox",
28+
"overlayY": "oy",
29+
"overlayFocus": "ofo",
30+
"overlayHeight": "oh",
31+
"overlayWidth": "ow",
32+
"overlayText": "ot",
33+
"overlayTextFontSize": "ots",
34+
"overlayTextFontFamily": "otf",
35+
"overlayTextColor": "otc",
36+
"overlayTextTransparency": "oa",
37+
"overlayAlpha": "oa",
38+
"overlayTextTypography": "ott",
39+
"overlayBackground": "obg",
4040
"overlayTextEncoded": "ote",
4141
"overlayTextWidth": "otw",
4242
"overlayTextBackground": "otbg",
4343
"overlayTextPadding": "otp",
4444
"overlayTextInnerAlignment": "otia",
4545
"overlayRadius": "or",
46-
"progressive" : "pr",
47-
"lossless" : "lo",
48-
"trim" : "t",
49-
"metadata" : "md",
50-
"colorProfile" : "cp",
51-
"defaultImage" : "di",
52-
"dpr" : "dpr",
53-
"effectSharpen" : "e-sharpen",
54-
"effectUSM" : "e-usm",
55-
"effectContrast" : "e-contrast",
56-
"effectGray" : "e-grayscale",
57-
"original" : "orig"
46+
"progressive": "pr",
47+
"lossless": "lo",
48+
"trim": "t",
49+
"metadata": "md",
50+
"colorProfile": "cp",
51+
"defaultImage": "di",
52+
"dpr": "dpr",
53+
"effectSharpen": "e-sharpen",
54+
"effectUSM": "e-usm",
55+
"effectContrast": "e-contrast",
56+
"effectGray": "e-grayscale",
57+
"original": "orig"
5858
};

0 commit comments

Comments
 (0)