Re: [SMARTY] 3 photos at one row

From: Date: Fri, 21 Nov 2003 11:38:11 +0000
Subject: Re: [SMARTY] 3 photos at one row
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10573@lists.php.net to get a copy of this message
JiЬМ NЛmec <konference@menea.cz>: > Hello, > > I have got problem displaing photos in photogallery. There's an > array with image width, height, filename etc. > > i need in template writeout 3 photos in one <TR>, but I can not use > html_table. > > is there some solutuion how to write out 3 photos per one row? > > thank you for any help! > > Ji э Nьmec, ICQ: 114651500 > www.menea.cz - www strсnky a aplikace > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > {counter name=c1 start=1 skip=3 assign=id2} {counter name=c2 start=2 skip=3 assign=id3} {section name=id1 loop=$images step=3} {* code here for examole *} {$images[id1].alt}<br> {$images[$id2].alt}<br> {* notice $id2 not id2 *} {$images[$id3].alt}<br> {counter name=c2 assign=id2} {counter name=c3 assign=id3} {/section} I hope this helps :)

« previous php.smarty.general (#10573) next »