{{for (i + 1, image) in enumerate(images):}}
<img src="{{=URL('download', args=image)}}" />{{=i % 4 == 0 and '<br />' 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 want to have a <br/> 
> after every 4 images  ,, how can i do somthing like this ??

Reply via email to