Re: [web2py] Re: image uploading and storing in web2py

2011-10-17 Thread pbreit
Have you reviewed the example in the Book? http://web2py.com/book/default/chapter/03#An-Image-Blog

Re: [web2py] Re: image uploading and storing in web2py

2011-10-17 Thread Saurabh S
Hi , i am developing an online booking system using web2py ...i have come across a requiremnt where i need to store the clients photo into the database(< 2MB)...how should i proceed with this .i have achieved the functionality to store a image into the database when i create a perticu

Re: [web2py] Re: image uploading and storing in web2py

2011-10-17 Thread Saurabh S
hi thanks for you reply...please tell me how can i store the path of image into the databse and actuall image image on the file system ?...i mean what would the field in database.if i go with this approach will i be able to view the same image when i edit a perticuler client...please reply On

[web2py] Re: image uploading and storing in web2py

2011-10-17 Thread Gour
On Mon, 17 Oct 2011 08:13:38 -0200 Bruno Rocha wrote: > The recommended is: > > Store the pictures on the file system and picture locations in the > database. OK. > But if it is a requirement to store in database there is not to do > about. I should be more clear saying that I was thinking ab

Re: [web2py] Re: image uploading and storing in web2py

2011-10-17 Thread Bruno Rocha
The recommended is: Store the pictures on the file system and picture locations in the database. > > > Why? Because... > >1. You will be able to serve the pictures as static files. >2. No database access or application code will be required to fetch the >pictures. >3. The images co

[web2py] Re: image uploading and storing in web2py

2011-10-17 Thread Gour
On Mon, 17 Oct 2011 05:57:32 -0200 Bruno Rocha wrote: > If your image needs to be stored in database (not in filesystem) do: Is it, in general, recommended to store image (blob) of such size in the {sqlite3,postgresql} database? Sincerely, Gour -- When your intelligence has passed out of th