From: Josh Charles Date: 2005-09-01T03:50:44+09:00 Subject: Re: building a gallery layout psuedo code from the top of my head array[x,y] pictures[] counter = 0 for each array[x] puts "" for each array[x][y] if ( pictures[ counter ] ) exists puts "" + image code + "" else puts "" end counter ++ end puts "" end Ok, so that would basically get you there. a better way might exist, but that is my first instinct. Hope that helps Josh On 8/31/05, Phrogz wrote: > Are you talking about an HTML table, or some other output/layout > mechanism? > > >