Accordining to http://www.telerik.com/help/aspnet-ajax/radbinaryimage.html
"ReziseMode" specifies whether the image should be sized automatically if width and height of the image are set in pixels. Possible values are:
- Crop (the image will be trimmed)
- Fit (the image will be sized to fit the given dimensions)
- None (default)
Using the code
telerik:RadBinaryImage ID="RadBinaryImage1" runat="server" ImageUrl="Photo/Grid-Scrolling-Issue.jpg" ResizeMode="Fit" Height="100px" Width="100px"/>
<img id="RadBinaryImage1" src="Photo/Grid-Scrolling-Issue.jpg" style="height:100px;width:100px;" />
and the image is 100x100 px on the page
However, the file size downloaded to the browser is still its original file sze 1.25MB; which is not what we were hoping for. We would like to use the control to produce a thumbnail image that has a small file size and dimensions.Can this be done with the Binary image control?
Our images are files on the server and not in a DB; that is why we went the ImageURL approach.
Can the actual image size be reduced along with it's dimensions with this control, if so how?
Thanks in advance,