Preventing image resize on upload

Last post 01-08-2007, 12:25 PM by mtalcott. 1 replies.
Sort Posts: Previous Next
  •  01-08-2007, 12:07 PM 25629

    Preventing image resize on upload

    I changed the configuration/security/default.config to:

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

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

    <security name="MaxImageHeight">1000</security>
     
    I'm uploading a 550(w)x 150(h) jpeg, and every time I do, it resizes it to 124x25. I've tried manually putting in the height and width as 550x150, but when I click upload, it changes it back to 124x25.
     
    Any help would be greatly appreciated!

    Marc Talcott
    www.AquestHosting.com
  •  01-08-2007, 12:25 PM 25630 in reply to 25629

    Re: Preventing image resize on upload

    I renamed this image and tried again. It didn't change the size this time. The first time it resized the image, I guess it was normal because the image was larger than the config settings, and the resize option was true, but after deleting the file from the server and uploading again, it seemed to always go back to that small size. Maybe a caching issue (???).
     
    Anyway renaming the file and trying again led to successful upload without it resizing it for me.
     
    Thanks

    Marc Talcott
    www.AquestHosting.com
View as RSS news feed in XML