what is the full image path?

  • Profile Image
    guest_23484817404052
    Asked 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

  • Profile Image
    moonzkie
    Answered 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
    guest_23456035241042
    Answered 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