On Monday, October 26, 2015 at 4:48:07 PM UTC-7, Alessio Varalta wrote: > > Hi I have a table with upload field and i will report a row of this table > in view. I try to create a form in readonly mode and print in the view but > I see only the string file..How i can report the row in the view with the > file that the user can download and with the image rapresentation of the > file like sqlform grid when i click on view >
The sample image blog in the book shows 2 ways of displaying the image. <URL:http://web2py.com/books/default/chapter/29/03/overview#An-image-blog> The first shows the image in a convention IMG node, and a form for a comment. (scroll up just above <URL:http://web2py.com/books/default/chapter/29/03/overview#Adding-authentication) The second, used for the administrative interface for the blog, uses sqlform.grid: <URL:http://web2py.com/books/default/chapter/29/03/overview#Adding-grids> /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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.