AutoResizeUploadedImages

Last post 06-08-2009, 1:44 AM by Kenneth. 6 replies.
Sort Posts: Previous Next
  •  06-03-2009, 4:29 AM 52758

    AutoResizeUploadedImages

    AutoResizeUploadedImages is not working as it should?
    Some photos I upload may not be the value I entered (MaxImageWidth + MaxImageHeight), some may.
    I use windows example images of Vista that has the size 1024 x 768 so keep Dock.jpg size, but Creek.jpg get the specified size (sometimes)?
    I use "How to use CuteEditor as a file Picker?" example of a page and "Insert Image" in other page, using 2 different config files with different MaxImageWidth + MaxImageHeight. If I create a new folder and upload Dock.jpg again so I can get the right size?
    If I use the same folder with different editors, may be my problem?
     
  •  06-03-2009, 11:39 AM 52765 in reply to 52758

    Re: AutoResizeUploadedImages

    kjell.ek:
    AutoResizeUploadedImages is not working as it should?
    Some photos I upload may not be the value I entered (MaxImageWidth + MaxImageHeight), some may.
    I use windows example images of Vista that has the size 1024 x 768 so keep Dock.jpg size, but Creek.jpg get the specified size (sometimes)?
    I use "How to use CuteEditor as a file Picker?" example of a page and "Insert Image" in other page, using 2 different config files with different MaxImageWidth + MaxImageHeight. If I create a new folder and upload Dock.jpg again so I can get the right size?
    If I use the same folder with different editors, may be my problem?
     
     
    Automatic Image Resize only work when uploading the new images. It cannot Automatic Resize the existing images in the folder.

    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

  •  06-03-2009, 4:36 PM 52779 in reply to 52765

    Re: AutoResizeUploadedImages

    It is  when I uploading the new images!!!
     
    Many users also complain that the editor often change the size of the images are uploaded, the images that are less a MaxImageWidth.
     
    Example:
    <security name="RestrictUploadedImageDimension">true</ security>
    <security name="AutoResizeUploadedImages">true</ security>
    <security name="MaxImageWidth">640</ security>
    <security name="MaxImageHeight">480</ security>
     
    You upload an image with size Width 200 px, but the size of the upload Width 170 px approximately 20% of the time.
     
    What is the problem?
  •  06-04-2009, 5:02 PM 52804 in reply to 52758

    Re: AutoResizeUploadedImages

    I have located the problem. It depends on Internet Explorer. If I use Firefox, I do not have this problem.

    To clarify.
    I have in my application the ability to enter into a box the image width and height, before you uploaded a picture. Internet Explorer remembers (caches) and apparently the Insert Image dialogue shows the first value of the image I uploaded. I change the width of the image and upload the same image again appears in the fields width and height of the first value (whether I close the browser).
    The value at "Max image dimension is 640 ... .." is correct and the image may be the value on the server.
    I try to insert the image in the editor using the Insert Image shown is still the first value, which is incorrect.

    To localize the problem, try uploading the same image (overwrite) and change a couple of times:
    Editor1.Setting ( "security: MaxImageWidth") = "300"
    Editor1.Setting ( "security: MaxImageHeight") = "200" using Internet Explorer and see if you get the same values in the Insert Image dialogue text boxes width / height that you specify in MaxImageWidth ... ...
  •  06-05-2009, 5:16 AM 52815 in reply to 52804

    Re: AutoResizeUploadedImages

    Hi kjell.ek,
     
    I can not reproduce this issue, can you try on our onlien example?
     
     
    Upload a image width less than 1024px, and it will not change the width of your image.
     
    Regards,
     
    ken
  •  06-06-2009, 5:31 AM 52844 in reply to 52815

    Re: AutoResizeUploadedImages

    I can not test the issue on your side because I can not specify the width before I upload the image.
    Have you really tried to upload the same image several times and changed the size of the picture every time?
  •  06-08-2009, 1:44 AM 52857 in reply to 52844

    Re: AutoResizeUploadedImages

    Hi kjell.ek,
     
    Can you send me an example with the sample image and show me the steps to reproduce this issue?
     
    My e-mail: Kenneth@CuteSoft.net
     
    Regards,
     
    ken
View as RSS news feed in XML