What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How to automatically compress/resize the image uploaded?

    Asked by Naatak on October 30, 2012 at 08:17 PM

    Hi,

    I have a simple form with a file upload for images. I want to automatically resize / compress the image being uploaded. For example like the google/facebook image uploaders.

    I want to resize a 1900x1200 image to 800x600 (or similar) (either client side or server side)

    how to achieve this?

    - siva

    Page URL:
    http://form.jotform.us/form/23037248815151

  • Profile Image
    JotForm Support

    Answered by jonathan on October 30, 2012 at 08:26 PM

    Hi Siva,

    Unfortunatelly there is no means to achieve this in the form builder. You can only dictate the limit in max 'file size' in MB of the uploaded image BUT not the image dimensions.

    If you noticed, the upload field is not strictly an image uploader field. It allows uploading of other data format as well, i.e. documets.. so, that is the reason for the lack of image dimension property.

    You will have to provide instructions (within the form or on a website if it is embedded) about the dimension size requirement for the image to be uploaded.

    Hope this help. 

    Thanks.