Specifies a left border size measured in pixels that will rendered over the image.
border-color
parameter is used to set the border color.
Values
This parameter accepts integer values in the range 0
to 500
with 0
disabling left border rendering.
-
1
: specify a left border size of 1
pixel.
-
500
: specify a left border size of 500
pixels.
If no color is specified using parameter border-color
a non transparent white color will be used by default.
Examples
Specify a left border size of 40
pixels using border-left=40
without setting any border color:
GET
https://assets.imglab-cdn.net/woman.jpeg?border-left=40
Specify a left border size of 40
pixels using lightgray
border color with params border-left=40
and border-color=lightgray
:
GET
https://assets.imglab-cdn.net/woman.jpeg?border-left=40&border-color=lightgray
Specify a left border size of 40
pixels using a transparent gray color with params border-left=40
and border-color=211,211,211,128
:
GET
https://assets.imglab-cdn.net/woman.jpeg?border-left=40&border-color=211%2C211%2C211%2C128
Is possible to specify a border size for all sides with border
parameter and set one specific size for border-left
using for example border=40
and border-left=80
:
GET
https://assets.imglab-cdn.net/woman.jpeg?border=40&border-left=80&border-color=211%2C211%2C211%2C128