On Thursday, 21 August 2014 16:34:46 UTC+1, Michael Beller wrote:
>
> Web2py has an 'upload' field type that helps you manage file uploads. 
>  "Upload" is a little bit of a misnomer because you can select the file 
> path to store the file (or an existing path) and the blob is not stored in 
> the database.
>
> You can read more here:
>
> http://web2py.com/books/default/chapter/29/07/forms-and-validators?search=upload#SQLFORM-and-uploads
>
> There are several good Bootstrap and Jquery plugins that you can use to 
> view a "lightbox" type of layout of your scanned images with the ability to 
> zoom on an image rather than download and then open the file which I think 
> would be best for your archival type of solution.  Here's just one example:
> http://www.bootply.com/71401
>
> There are many discussions on the web2py upload feature in this forum and 
> some 'slices' that you may find helpful such as:
> http://www.web2pyslices.com/slice/show/1504/manual-uploads
>
> Hope that helps.
>
> Mike
>
>
>

It did help, thanks. The thing is, I don't want to 'upload' my scans, there 
is an acquire button on my page that triggers the scanner to scan the 
current document on the flatbed. Currently this is only held in memory in 
my scanner class, I just wanted it stored so that web2py can present it in 
a lightbox kind of way (good example there).

I'll keep looking through those examples, thank you 

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to