How to Restrict Image Pixel Dimensions within File Upload?

  • Profile Image
    dunedinPhotogSoc
    Asked on November 24, 2017 at 06:04 PM

    We are using 'File Upload' to submit images on a form

    The images submitted are not allowed to be more than 1620px on the horizontal and more than 1080px on the vertical. This is a requirement of the competition the images are being submitted for.

    Is it possible to provide an error in the same way that the file size in KB is restricted?

    Cheers

    David

  • Profile Image
    Sabbir
    Answered on November 24, 2017 at 06:11 PM

    I am assuming you want to restrict users in terms of file size.

    You can do that in your File Upload Properties.

    Please refer to this screenshot:

    1511565055imagefilesize.jpg

    Hope this is what you are looking for.

    If you have any further query, please let us know.

  • Profile Image
    dunedinPhotogSoc
    Answered on November 24, 2017 at 06:53 PM

    Hi Sabbir,

    I would like the dimensions of an image to be restricted, not the size it takes up on disk. So the measurement is in pixels, not KB.

    The form is set to only permit JPGS to be uploaded.

    Images with a horizontal pixel size of over 1620 pixels would be rejected

    Images with a vertical pixel size of over 1080 pixels would be rejected

    Cheers

    David



  • Profile Image
    John_Benson
    Answered on November 24, 2017 at 08:18 PM

    Hello David,

    Unfortunately, there are no features or tool that can restrict the size by pixels/dimensions of the uploaded images. 

    I hope this information helps. Contact us again if you need further assistance.

    Thank you.

  • Profile Image
    dunedinPhotogSoc
    Answered on November 24, 2017 at 09:07 PM

    Ok thanks