Re: Change the resolution of an image file

  •  07-19-2012, 7:07 AM

    Re: Change the resolution of an image file

    Hi Armand66,
     
    Please try the example below
     
    1. <%@ Page Language="VB" %>  
    2.   
    3. <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>  
    4. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
    5.   
    6. <script runat="server">  
    7.     Protected Sub Page_Load(ByVal sender As ObjectByVal e As System.EventArgs)  
    8.         editor1.Setting("security:AutoResizeUploadedImages") = "false"  
    9.     End Sub  
    10. </script>  
    11.   
    12. <html xmlns="http://www.w3.org/1999/xhtml">  
    13. <head runat="server">  
    14.     <title>example</title>  
    15. </head>  
    16. <body>  
    17.     <form id="form1" runat="server">  
    18.         <div>  
    19.             <CE:Editor ID="editor1" runat="server">  
    20.             </CE:Editor>  
    21.         </div>  
    22.     </form>  
    23. </body>  
    24. </html>  
    Regards,
     
    Ken 
View Complete Thread