Jared,
Automatic Image Resize
Cute Editor has taken steps to improve image insertion functions. A new and innovative capability is Automatic Image Resizing. If uploaded images are too large to display for your applications (for example the width of image is bigger than MaxImageWidth) , automatic resizing makes them fit and keep the original ratio automatically.
Turn Automatic Image Resizing On or Off
Automatic Image Resizing is turned on by default. But you can turn it on and off by using the following methods:
1: Edit security policy file.
The security policy file (default.config, admin.config and guest.config) can be found in the /CuteEditor/Configuration/Security folder. In security policy file you can find the AutoResizeUploadedImages element. By default, it contains the following value:
<security name="AutoResizeUploadedImages">true</security>
You can modify the AutoResizeUploadedImages element to meet your own requirements.
For example:
<security name="AutoResizeUploadedImages">true</security>
2: Programmatically turn Automatic Image Resizing on and off
C# Example:
Editor1.Setting["security:AutoResizeUploadedImages"]= "true";
VB Example:
Editor1.Setting("security:AutoResizeUploadedImages")= "true"
asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
asp wysiwyg html editor: http://cutesoft.net/ASP
asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
Live Support: http://cutesoft.net/live-support/default.aspx