Insert Flag telling where image came from when using upload widget
Application Type

First, I know nothing of the mystic ways of Javascript, so lets get that out of the way.  My question is, when using the upload widget to send a photo the user has a choice of taking a photo with the camera or using one from the gallery.

Is there any way to add an indicator of any type to tell which way the picture was submitted?

Example:  If image sent by camera set variable to C, if taken from gallery set variable to G.

Thank you


Hi Andrew,

i dont think that it is possible to determine the source with the input widget. Maybe the Camera Plugin is an alternative. At least it provides two distinct actions. One for choosing from gallery and one for taking a camera picture.


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.