We are using the dojox/form/uploader on a desktop application to
transfer image files to the server. Works great.
In the mobile setting, we are trying to get the same
functionality using the HTML5 camera capture attributes. Things
'sort of' works when we try:
<input id='attachedImg' type="file" accept="image/*"
capture="camera"
data-dojo-type="dojox/form/Uploader" id="attachedImg"
data-dojo-id="attachedImg"
data-dojo-props="multiple:false, label:'Image',
onComplete:function(result) {}, onError:function(evt) {},
onChange:function(files) {}" />
The only problem is that we lose the filename display next to the
upload --- is there some magic sauce we can try to use the uploader
that will preserve the filename display?
--
Dojo Toolkit:
http://dojotoolkit.org/Tutorials:
http://dojotoolkit.org/documentation/[hidden email]
To unsubscribe, visit:
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest