Customize valiation for image width, height ratio on client side

  •  07-14-2011, 12:38 PM

    Customize valiation for image width, height ratio on client side

    Hello everyone,
     
    I need to validate the image's ratio between width and height on client side. I had a look at the document and found out the javascript API. I used the function named CuteWebUI_AjaxUploader_OnSelect(files) which have files as input parameter and look for the right property of the param, but I cant. Can I get the width and height of the selected image for uploading?
     
    Hope for any help.
View Complete Thread