it will auto resize the image even set AutoResizeUploadedImages to false

Last post 08-21-2015, 9:29 AM by Kenneth. 9 replies.
Sort Posts: Previous Next
  •  08-07-2015, 4:12 AM 80567

    it will auto resize the image even set AutoResizeUploadedImages to false

     

    I make change of the following in config file but it will auto resize the image to 100 x 100 if the image is over this size 

         <security name="AutoResizeUploadedImages">false</security>
      <security name="MaxImageWidth">100</security>
        <security name="MaxImageHeight">100</security>

  •  08-10-2015, 10:17 AM 80584 in reply to 80567

    Re: it will auto resize the image even set AutoResizeUploadedImages to false

    Hi,

     

    it has 3 different setting files, can you change in all of them to try again? I have tried the settings, it work fine, so I think you may set in the wrong file.

     

    Default.config 

    Admin.config 

    Guest.config 

     

    Regards,

     

    Ken 

  •  08-10-2015, 11:07 AM 80588 in reply to 80584

    Re: it will auto resize the image even set AutoResizeUploadedImages to false

    I edit all config files to <security name="AutoResizeUploadedImages">false</security> alraedy

    it not work

    the image will auto resize to MaxImageWidth and MaxImageHeight if the image upload is large then it 

     

    and I set RestrictUploadedImageDimension to false

    is that it will auto resize the image if it too big? 

  •  08-10-2015, 11:23 AM 80589 in reply to 80588

    Re: it will auto resize the image even set AutoResizeUploadedImages to false

    Hi,

     

    If you have set AutoResizeUploadedImages to false, then please set RestrictUploadedImageDimension to true.

     

    Regards,

     

    Ken 

  •  08-10-2015, 11:33 AM 80590 in reply to 80588

    Re: it will auto resize the image even set AutoResizeUploadedImages to false

     I tried some setting combination

    assumeMaxImageWidth = 100 and MaxImageHeight = 150 and upload a image with dimesion larger then this setting

     

    case 1: 

    <security name="RestrictUploadedImageDimension">false</security>
    <security name="AutoResizeUploadedImages">false</security> 

    the image will resize to 100 x 150 (fix 100 x 150 on any dimension image) 


    case 2: 

    <security name="RestrictUploadedImageDimension">true</security>
    <security name="AutoResizeUploadedImages">false</security> 

    cannot upload

     

    case 3: 

    <security name="RestrictUploadedImageDimension">false</security>
    <security name="AutoResizeUploadedImages">true</security> 

    the image will resize by ratio. the image will become 100 x ??? or ??? x 150

    case 4: 

    <security name="RestrictUploadedImageDimension">true</security>
    <security name="AutoResizeUploadedImages">true</security> 

    the image will resize by ratio. the image will become 100 x ??? or ??? x 150. same as case 3

     

    what is the setting to make it without any resize on upload?

     

  •  08-10-2015, 11:49 AM 80591 in reply to 80590

    Re: it will auto resize the image even set AutoResizeUploadedImages to false

    case 2 is the correct setting. If the image width/height exceeds MaxImageWidth or MaxImageHeight setting, then the editor will blocks the upload, this is the correct behavior.

     

    Ken 

  •  08-10-2015, 9:51 PM 80605 in reply to 80591

    Re: it will auto resize the image even set AutoResizeUploadedImages to false

     not correct

    I would like to upload the image without any blocking and resize

     

    How I make change on the setting to make it work? 

     

     

  •  08-11-2015, 8:00 AM 80606 in reply to 80605

    Re: it will auto resize the image even set AutoResizeUploadedImages to false

    Hi,

     

    If you do not want to block any upload, then why you set the settings below to 100? the settings below means if the image width/height large than 100px, then block it and do not allow this upload.

     

    <security name="MaxImageWidth">100</security>

    <security name="MaxImageHeight">100</security>

     

    Regards,

     

    Ken 

           

  •  08-21-2015, 4:11 AM 80723 in reply to 80606

    Re: it will auto resize the image even set AutoResizeUploadedImages to false

     so I am asking how can I set no blocking and no resize on upload image

     all the case I test not working

     

    don't tell me that I need to have stupid setting as follow to allow any image upload

    <security name="MaxImageWidth">100000</security>

    <security name="MaxImageHeight">100000</security>

     

     

  •  08-21-2015, 9:29 AM 80724 in reply to 80723

    Re: it will auto resize the image even set AutoResizeUploadedImages to false

    Hi,

     

    It does not has an unlimited setting, the only way is set to a very large value, sorry for your inconvenience.

     

    Regards,

     

    Ken 

View as RSS news feed in XML