On Friday, March 11, 2016 at 9:52:20 AM UTC-8, RAGHIB R wrote:
>
> What syntax do you use for the same?
>
>
For a camera on the server, you use an external program that saves the 
picture to the file, and in a controller or scheduler task simply do a 
normal DB insert, which might  either be just the filename (and you read 
the file later when asked for it) or a blob (if you don't mind big objects 
in your DB).

For a camera on a client, you have the user save the file somewhere and 
then use an upload field.

/dps

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to