Standard Image extends the functionality of the native HTML <img> tag. Notable features include automatic reduction of the size of the image served to the client, and the ability for images to maintain their original aspect ratio.
Sets the height of the element. The default units are pixels. include the percentage symbol % to user percentage values.
Give this control a unique id. Can be accessed in the client DOM (eg, document.getElementById('myid'), or in the server DOM using [? $myid ?] or [? $('myid') ?]).
How the image should respond if the width
set are a different ratio to the image's natural size.
- true - The image will shrink to avoid distortion.
- false - The image will obey the width and height, and possibly distort.
- "crop" - The image will obey the width and height, and will allow cropping to avoid distortion.
Default = true
The source / location of the image.
Sets the width of the element. The default units are pixels. include the percentage symbol % to user percentage values.
Whether to float the image left or right. Default = "". Possible other values: "left", "right".
If this image is floating inside a paragraph, by using the float attribute, floatoffset controls the distance of the image from the top of the paragraph.
Demonstrates the different possible values of the MaintainAspect attribute.