Extends the canvas of an image by adding the specified amount of pixels on each side with a background color.
Parameter | Description | Required | Allowed Values | Default |
---|---|---|---|---|
borderXtnd | Extends the borders on each side of the image by the specified value in pixels. | No | [1-n] | n/a |
leftXtnd | Extends the left border of the image by the specified value in pixels. | No | [1-n] | n/a |
rightXtnd | Extends the right border of the image by the specified value in pixels. | No | [1-n] | n/a |
topXtnd | Extends the top border of the image by the specified value in pixels. | No | [1-n] | n/a |
bottomXtnd | Extends the bottom border of the image by the specified value in pixels. | No | [1-n] | n/a |
color | The rgb value of the color to extend the canvas with. | No | [#RRGGBB] | n/a |
encode | Encoding format for the resulting image. | No | [png , gif , jpg , tif , bmp] | Source image format |
id | HTML id attribute. | No | [CData] | n/a |
image | Image source URI. | Yes | [URI] | n/a |
width | Image width. | No | [CData] | n/a |
height | Image height. | No | [CData] | n/a |
title | Image title shown on tooltips. | No | [CData] | n/a |
border | Image border width. | No | [CData] | n/a |
cssClass | css class applied to the image tag. | No | [CData] | n/a |
cssStyle | css style directly applied to the image tag. | No | [CData] | n/a |
onclick | Javascript handling for this event. | No | [Javascript] | n/a |
ondblclick | Javascript handling for this event. | No | [Javascript] | n/a |
onmousedown | Javascript handling for this event. | No | [Javascript] | n/a |
onmouseup | Javascript handling for this event. | No | [Javascript] | n/a |
onmouseover | Javascript handling for this event. | No | [Javascript] | n/a |
onmousemove | Javascript handling for this event. | No | [Javascript] | n/a |
onmouseout | Javascript handling for this event. | No | [Javascript] | n/a |
onkeydown | Javascript handling for this event. | No | [Javascript] | n/a |
onkeyup | Javascript handling for this event. | No | [Javascript] | n/a |