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

    what is the full image path?

    Asked by guest_23484817404052 on December 14, 2012 at 11:13 AM

    we are using a form with an upload button for images. We want to display a thumbnail of the image on the form so it can be viewed before customers press submit.

    I have the code ready but need to know the path to where the images are kept.

     

    Can you let me know.

     

    Thanks.

     

    Neil

    Page URL:
    www.santascanvasshop.co.uk

  • Profile Image

    Answered by moonzkie on December 14, 2012 at 12:57 PM

    Hi,

    Just to clarify, you want a preview of the image that you have selected? If yes, then unfortunately, having a thumbnail image preview before the form is submitted is not available as of the moment . However, I see how this might be useful. I will try to submit this to our feature request list and hopefully, our developers can integrate this in the future.

    On the other hand, here is the URL of the image path:

    http://www.jotform.com/uploads/your_username/your_form_id/{$submission_id_var}/{$filename_var}

    Note:  The fonts in red are those that you will need to find the details from your account or your form. These are to be hardcoded.  While those in green, you can get it from the data being posted by your $_POST vars, so just getting the variables will do fine.

    Thank you for using Jotform. Let us know if there's anything else that you require assistance with.

     

  • Profile Image

    Answered by guest_23456035241042 on December 14, 2012 at 02:51 PM

    Many thanks for your prompt reply. We can call in the filename_var but what is the submission_id_var and where can we call it from.

    Thank you.

    Neil