- jgrooverAsked on March 29, 2018 at 07:36 PM
Looks like the "image.jpg" File Upload bug was never fixed for uploads coming from an iPhone. See my attached photos for a survey that was done today.
Is there a workaround that you can suggest?
- JotForm SupportKevin_GAnswered on March 29, 2018 at 11:05 PM
I have been testing this a bit and actually this seems like a bug on iOS, when you take the photo using a mobile device the device and the OS will rename the taken photo, on iPhone the file is renamed exactly the same on the multiple file uploads, this may be generating the conflict showing up the same image on all the fields. To verify this I have created a simple HTML page with HTML 5 file upload fields and tested it on an iPhone emulator, the issue happens there as well in order to make sure it's not related to JotForm:
I then tested a JotForm form with multiple file upload fields on an Android device and it seems to set different names to the taken photos:
Unfortunately, this is something that cannot be controlled by JotForm so it would be a bit hard to handle that. Alternatively, you may use a widget for that, please find our file uploads widgets here: https://widgets.jotform.com/category/file_upload
This guide will help adding the widget to your form: https://www.jotform.com/help/252-How-to-Add-a-Widget-to-Your-Form
Also, as shown on my screenshots I used the single upload field, but the same happens when allowing multiple uploads.
I hope this info helps.
- jgrooverAnswered on March 30, 2018 at 01:41 PM
Thanks for providing some direction here. Do using widgets somehow circumvent the problem? Unfortunately, many of my surveyors will be using an iOS mobile device.
- JotForm SupportRichie_PAnswered on March 30, 2018 at 02:08 PM
I have tested Image Upload Preview Widget and this fixes the issue with changing orientation on IOS mobile devices.
Here is my sample submission using my IOS mobile device with the widget.
Please give it a try and let us know how it goes.
- jgrooverAnswered on March 30, 2018 at 04:26 PM
I'm not too concerned with orientation, but thanks for looking into that.
Have you tested if it fixes the "image.jpg" iOS bug where that image overwrites other uploads, resulting in the image showing up for multiple unique File Upload questions?
This was my original concern in the screencap of the survey response above. Each of those photos in the screencap should have been different files, but they all defaulted to the same "image.jpg" file.
- JotForm SupportjonathanAnswered on March 30, 2018 at 08:14 PM
I could not properly troubleshoot the "image" iOS upload issue you described because I do not have the iOS device to test.
I will relay this instead to another support. We will update you here as soon as we can.