Extend Tag

Extends the canvas of an image by adding the specified amount of pixels on each side with a background color.

ParameterDescriptionRequiredAllowed ValuesDefault
borderXtndExtends the borders on each side of the image by the specified value in pixels.No[1-n]n/a
leftXtndExtends the left border of the image by the specified value in pixels.No[1-n]n/a
rightXtndExtends the right border of the image by the specified value in pixels.No[1-n]n/a
topXtndExtends the top border of the image by the specified value in pixels.No[1-n]n/a
bottomXtndExtends the bottom border of the image by the specified value in pixels.No[1-n]n/a
colorThe rgb value of the color to extend the canvas with.No[#RRGGBB]n/a
encodeEncoding format for the resulting image.No[png , gif , jpg , tif , bmp]Source image format
idHTML id attribute.No[CData]n/a
imageImage source URI.Yes[URI]n/a
widthImage width.No[CData]n/a
heightImage height.No[CData]n/a
titleImage title shown on tooltips.No[CData]n/a
borderImage border width.No[CData]n/a
cssClasscss class applied to the image tag.No[CData]n/a
cssStylecss style directly applied to the image tag.No[CData]n/a
onclickJavascript handling for this event.No[Javascript]n/a
ondblclickJavascript handling for this event.No[Javascript]n/a
onmousedownJavascript handling for this event.No[Javascript]n/a
onmouseupJavascript handling for this event.No[Javascript]n/a
onmouseoverJavascript handling for this event.No[Javascript]n/a
onmousemoveJavascript handling for this event.No[Javascript]n/a
onmouseoutJavascript handling for this event.No[Javascript]n/a
onkeydownJavascript handling for this event.No[Javascript]n/a
onkeyupJavascript handling for this event.No[Javascript]n/a