Here's some code....

form = SQLFORM(db.tbbooks, 4, upload=URL(r=request,f='download') )

Note... you can store images as BLOBS inside the database OR
on the filesystem.



On Jun 1, 1:51 pm, Aaron Crowe <aaron.h.cr...@gmail.com> wrote:
> I'm just getting started with web2py and I'm looking for a way for the
> user to upload an image and have it stored in the database. Any
> suggestions or links to relevant code would be appreciated.

Reply via email to