- guest_23484817404052Asked 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.
- moonzkieAnswered on December 14, 2012 at 12:57 PM
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:
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.
- guest_23456035241042Answered 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.