|
|
Renders an HTML image tag including ImageProcessor parameters.Renders an HTML image tag including ImageProcessor parameters.
Syntax
| Smartsite SXML |
|
|---|---|
<se:image /> |
|
Parameters
| Name | Data Type | Properties | Description |
|---|---|---|---|
| AddStyle | Boolean | - | Sets a value indicating whether to add a style attribute to the output. |
| AltText | String | - | Sets the alt text property for the image. |
| AspectRatio | Boolean | - | Sets a value indicating whether to keep the aspect ratio when the image is resized. |
| AutoTitle | Boolean | - | Sets a value indicating whether to automatically copy a title attribute from the AltText, if not specified. |
| ClassName | String | - | Sets the class name attribute of the image. |
| CommandOrder | Enum | - |
Sets the order in which the image commands are being applied.
Enum values:
|
| CropBottom | Integer | - | Sets the crop bottom. |
| CropHeight | Integer | - | Sets the height of the crop. |
| CropLeft | Integer | - | Sets the crop left. |
| CropRight | Integer | - | Sets the crop right. |
| CropTop | Integer | - | Sets the crop top. |
| CropWidth | Integer | - | Sets the width of the crop. |
| DuoToneTint | String | - | Sets the tint color of the duo tone effect. |
| FallbackImage | Locator | - | Sets the location for the image to be used when the image specified in the Location parameter cannot be found. |
| FileType | String | - | Sets the file type of the image. Possible values are define in the imageFileTypes collection in the Smartsite.ImageProcessor.config file. |
| Grayscale | Boolean | - | Sets a value indicating whether this generated image is grayscale. |
| Height | Integer | - | Sets the image height. |
| ImageId | String | - | Sets the id attribute of the image. |
| InputData | DataTable | - | Sets the input data. This must be a datatable containing the image. |
| JpgQuality | Integer | - | Sets the JPG quality. |
| Location | Locator | - | Sets the location of the image. This can be either a smartsite item or a site file. |
| MaxHeight | Integer | - | Sets the maximum height. |
| MaxWidth | Integer | - | Sets the maximum width. |
| MinHeight | Integer | - | Sets the minimum height. |
| MinWidth | Integer | - | Gets or set the minimum width. |
| Mirror | Enum | - |
Sets the mirror type.
Enum values:
|
| OilPaint | Boolean | - | Sets a value indicating whether to apply the oil paint effect. |
| OnClick | String | - | Sets the onclick attribute of the image. |
| ResizeMode | Enum | - |
Sets the resize mode.
Enum values:
|
| Rotate | Float | - | Sets the rotation angle in degrees. |
| RotateBackColor | String | - | Sets the background color after a rotation has occurred. |
| Style | String | - | Sets the style attribute of the image. |
| Title | String | - | Sets the title property for the image. |
| UseFallbackImage | Boolean | - | Sets a value indicating whether to use a fallback image if the given location proves to be invalid. |
| Width | Integer | - | Sets the image width. |
Shared Parameters
Local Viper Methods
| Viper | Extension | Description |
|---|---|---|
| This.AltText | Gets the HTML alt text attribute of the image. | |
| This.AutoTitle | Gets a value indicating whether to automatically copy a title attribute from the AltText, if not specified. | |
| This.ClassName | Gets the value for the HTML class attribute of the image. | |
| This.ClearForcedResult |
Sets the result of the macro. used to override the normal handling of the result creation. |
|
| This.GetForcedResult | Gets the forced result of the macro, set by overriding the normal rendering using SetForcedResult(). | |
| This.ImageId | Gets the value for the HTML id attribute of the image. | |
| This.OnClick | Gets the HTML onclick attribute of the image. | |
| This.OutputColorDepth | Gets the color depth of the output image. | |
| This.OutputCommandOrder | Gets the actual applied command order. | |
| This.OutputFileSize | Gets the file size in bytes of the output image. | |
| This.OutputFileType | Gets the file type of the output image. | |
| This.OutputFrameCount | Gets the number of frames in the output image. | |
| This.OutputHeight | Gets the calculated height of the output. | |
| This.OutputLocation | Gets the output location. | |
| This.OutputResolutionUnit | Gets the resolution unit of the output image. | |
| This.OutputResolutionX | Gets the horizontal resolution of the output image. | |
| This.OutputResolutionY | Gets the vertical resolution of the output image. | |
| This.OutputStyle | Gets the calculated output style. Returns null if parameter AddStyle is false. | |
| This.OutputWidth | Gets the calculated width of the output. | |
| This.RenderTime | ✓ | Returns the render time of the macro in milliseconds. |
| This.SetForcedResult |
Sets the result of the macro. used to override the normal handling of the result creation. |
|
| This.Title | Gets the title attribute of the image. |