[web2py] Re: For trick

2012-01-16 Thread Web2Py Freak
Thnx Anthony , thank you all guys its working well now :)

[web2py] Re: For trick

2012-01-16 Thread Anthony
{{for (i + 1, image) in enumerate(images):}} {{=i % 4 == 0 and '' or ''}} {{pass}} Anthony On Monday, January 16, 2012 8:02:52 AM UTC-5, Web2Py Freak wrote: > > Dear all , > > i am geting some images from the database and viewing them in the > page i am using a for loop for the images and i w

[web2py] Re: For trick

2012-01-16 Thread LightDot
Another solution would be to use css. Use divs for individual photos and than assign a class with float, that should do it nicely.