How to capture the image location of an upload image?

  • BLarson54
    Asked on January 28, 2019 at 5:15 PM

    Is there a widget or integration that will let us have a user upload an image, require the image to have location data, and then upload keeping the location information? 

  • Jed_C
    Replied on January 28, 2019 at 7:09 PM

    Please try our GPS Location Widget in collaboration with our Take Photo Widget.

    Let us know if you have any questions or if you need further assistance. 

  • BLarson54
    Replied on January 30, 2019 at 12:36 PM

    Is there a way to set the GPS Location Widget to run in the background.  We don't need it to show on the form just capture the data. 

     

  • David JotForm Support
    Replied on January 30, 2019 at 1:53 PM

    I checked our location widgets and they do not appear to be functional in the form when hidden.  They do not request authorization from the user so they are not able to access the location data.  You could add the widget at the end of the form out of the way but it does appear to be necessary to show the widget in the form in order for it to be functional.

  • BLarson54
    Replied on January 30, 2019 at 2:16 PM

    It looks like there is a Widget that is called 'Get Visitor Location' that gets location while being hidden but it isn't very accurate. Is there a way to increase coordinate precision to more decimal places? 

  • Victoria_K
    Replied on January 30, 2019 at 4:07 PM

    Location widgets provide IP based results. If GPS Location Widget works for you better, I would suggest to hide it with custom CSS code instead of hiding via field properties. This would allow to run it in background. If this is acceptable, please add the following code to your form following this guide: How-to-Inject-Custom-CSS-Codes

    iframe[src*="gpsLocation"] {

      visibility: hidden;


    }

    Hope this helps.