-
miguelbmAsked on August 29, 2017 at 6:13 AM
When I use the item upload files The following happens:
This work OK and load the image
But if change to mi url, "Failed to load image".
Why?
I need to send in base 64 the image file to my url, or send the URL of the location of the loaded image.
I would also like to know if it is possible to preview the image in the form
Best regards
Miguel benjumea
-
MarvihReplied on August 29, 2017 at 8:17 AM
Localhost is only accessible on your local network/machine only. If you are hosting your website/image in your machine you need to access it using your IP which can be found here http://www.whatsmyip.org/ instead of using localhost.
-
miguelbmReplied on August 29, 2017 at 1:08 PM
Sorry for my English
But that's not the problem. The same problem from external accessOnly work with action URL https://submit.jotformeu.com/submit/724..........
-
David JotForm SupportReplied on August 29, 2017 at 1:38 PM
If you are trying to send the file uploads to your own server, that can be done using FTP. Here is how to do so:
https://www.jotform.com/help/177-How-to-Send-Submission-Data-File-Upload-via-FTP
The files need to hit our servers first and then be forwarded from there.
-
miguelbmReplied on August 30, 2017 at 4:08 AM
Hi David
I have configured FTPWith the form submit action "https: //submit.jotform ...... " works ok
But with my URL
http://xxx.xxx.xxx.xxx/ does not work, does not load filesBoth with external access and localhost
However the widget klouless file uploader works in both cases
I do not know if I should configure anything else
-
Elton Support Team LeadReplied on August 30, 2017 at 4:58 AM
JotForm's generated action URL is the most vital part of the form. Changing it to something else will not work out. We also do not recommend doing that.
You should probably just process the uploaded image through Webhook.
With regards to the mentioned widget, it is loaded in a separate frame. Which means uploaded files are processed independently. As long as it is able to read the widgets meta data, the widget will work even if the action URL is changed.
Thanks