AutoResizeUploadedImages

Last post 07-07-2011, 3:42 AM by kjell.ek. 2 replies.
Sort Posts: Previous Next
  •  07-06-2011, 3:58 AM 68365

    AutoResizeUploadedImages

    I have set AutoResizeUploadedImages to true in Security. Config file.
    Working correctly except that when I upload an image as a document to "file gallery path" so the image is scaled even then.
    How do I get around it?

    I just want
    to AutoResizeUploadedImages = true when i use the "insert image" function, not when I choose "Insert Document"
     
     
     
     
     
  •  07-06-2011, 10:01 PM 68371 in reply to 68365

    Re: AutoResizeUploadedImages

    Hi kjell.ek,
     
    Please add the setting below into to your page which contains CuteEditor .
     
    1. protected override void OnLoad(EventArgs e)  
    2.       {  
    3.           Editor1.Setting["security:InsertDocument-AutoResizeUploadedImages"] = "false";  
    4.           Editor1.Setting["security:InsertDocument-MaxImageWidth"] = "2000";  
    5.           Editor1.Setting["security:InsertDocument-MaxImageHeight"] = "2000";  
    6.           Editor1.Setting["security:InsertDocument-MaxImageSize"] = "2000";  
    7.           base.OnLoad(e);  
    8.       } 
    Regards,
     
    ken
  •  07-07-2011, 3:42 AM 68375 in reply to 68371

    Re: AutoResizeUploadedImages

    It works when i use resource name="InsertDocument"
    Not when i use resource name="insertlink" to upload a image, then the AutoResizeUploadedImages = true
View as RSS news feed in XML