"Lowell Allen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> From: "Tom Ray [Lists]" <[EMAIL PROTECTED]>
>>
>> I want to be
>> able to display thumbnail versions of the pictures, 3 per row and as
>> many rows as needed. Unfortunetly, all I can do right now is 1 per row,
>> this is where I need the help. Here's the code that displays images:
>> [snip]
>> So how do I make this work so I can have three cells per table row and
>> it actaully show the proper picture?
>
>
> You need to set up a counter so you can start a new table row at the
> appropriate time. Beginning from the line where you use explode(), and for
> brevity not writing out the HTML for linking the image:


... alternatively, you could use CSS relative positioning to
'flow' the images, so they wrap to whatever the page width
is.

This has the side benefits of simplifying your output
logic and making the output more flexible.




--
Hugh Bothwell     [EMAIL PROTECTED]     Kingston ON Canada
v3.1 GCS/E/AT d- s+: a- C+++ L++>+++$ P+ E- W+++$ N++ K? w++ M PS+
PE++ Y+ PGP+ t-- 5++ !X R+ tv b++++ DI+++ D-(++) G+ e(++) h-- r- y+




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to