 |

chassa2556
User
Jun 9, 2008, 10:11 AM
Post #1 of 4
(223 views)
Shortcut
|
|
Can you please help me in setting up this gallery?
|
Can't Post
|
|
Could you help me to set up this gallery please http://www.straloch.com/stralochestatephotos.php Its a simple 3 column grid with sized images Many thanks in advance
|
|
|  |
 |

Dave
Staff
/ Moderator

Jun 9, 2008, 11:51 AM
Post #2 of 4
(219 views)
Shortcut
|
|
Re: [chassa2556] Can you please help me in setting up this gallery?
[In reply to]
|
Can't Post
|
|
Hi Charles, Start by creating a viewer that displays a list of images. Then have it output each image in a <td></td> than add this just before the <?php endforeach ?> to have it output a </tr><tr> every 3 columns: <?php $maxCols=3; if (@++$count % $maxCols == 0): ?></tr><tr><?php endif; ?> You can also have a look at this post: http://www.interactivetools.com/iforum/P62848#62848 Hope that helps! Let me know if you need more details. Dave Edis - Senior Developer interactivetools.com
|
|
|  |
 |

jburgess
New User
Nov 25, 2008, 12:57 PM
Post #3 of 4
(51 views)
Shortcut
|
|
Re: [Dave] Can you please help me in setting up this gallery?
[In reply to]
|
Can't Post
|
|
How do you have it output each image in a <td></td>?
|
|
|  |
 |

Dave
Staff
/ Moderator

Nov 25, 2008, 4:32 PM
Post #4 of 4
(45 views)
Shortcut
|
|
Re: [jburgess] Can you please help me in setting up this gallery?
[In reply to]
|
Can't Post
|
|
Just put those inside the foreach loop like this:
<?php foreach ... ?> <td> ... image display code here ... </td> <?php endforeach ?> Hope that helps! Dave Edis - Senior Developer interactivetools.com
|
|
|  |
|