Re: {Disarmed} Re: {Disarmed} [web2py] Showing images or thumbnails in grid view

2017-12-27 Thread jcrowe
Thanks so much. That was very helpful! I am including the code below for anyone else trying to show images in the grid view. db.define_table('photos', Field('photo', 'upload'), Field('username', db.auth_user, default=auth.user_id)) db.photos.photo.requires = requ

{Disarmed} Re: {Disarmed} [web2py] Showing images or thumbnails in grid view

2017-12-27 Thread Carlos Cesar Caballero Díaz
Hi Jason, take a look at the represent param in the field constructor http://www.web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#Field-constructor Greetings. El 27/12/17 a las 11:13, jcrowe escribió: I am using grids as a photo manager of sorts. I am looking for a way to

[web2py] Showing images or thumbnails in grid view

2017-12-27 Thread jcrowe
I am using grids as a photo manager of sorts. I am looking for a way to show the image inline in the grid, rather than needing to click the view button to see the images. I have searched around but I didn't find anything. I figure it's either very simple and I'm the only one that doesn't know h