Thnx Anthony , thank you all guys its working well now :)
{{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
Another solution would be to use css. Use divs for individual photos and
than assign a class with float, that should do it nicely.
3 matches
Mail list logo