Specifies a right 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 right border rendering.
-
1
: specify a right border size of 1
pixel.
-
500
: specify a right 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 right border size of 40
pixels using border-right=40
without setting any border color:
GET
https://assets.imglab-cdn.net/woman.jpeg?border-right=40
Specify a right border size of 40
pixels using lightgray
border color with params border-right=40
and border-color=lightgray
:
GET
https://assets.imglab-cdn.net/woman.jpeg?border-right=40&border-color=lightgray
Specify a right border size of 40
pixels using a transparent gray color with params border-right=40
and border-color=211,211,211,128
:
GET
https://assets.imglab-cdn.net/woman.jpeg?border-right=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-right
using for example border=40
and border-right=80
:
GET
https://assets.imglab-cdn.net/woman.jpeg?border=40&border-right=80&border-color=211%2C211%2C211%2C128