With regard to displaying all the images in a table. This is how I do
it in my /pictures/index.thtml

<tr>
        <th>Filename</th>
        <th>Width</th>
        <th>Height</th>
        <th>Modified</th>
        <th>Picture</th>
</tr>

<?php foreach ($pictures as $row): ?>
<tr>
        <td><?php echo $row['Picture']['filename'] ?></td>
        <td><?php echo $row['Picture']['width'] ?></td>
        <td><?php echo $row['Picture']['height'] ?></td>
        <td><?php echo $row['Picture']['modified'] ?></td>
        <td><?php echo "<img src=\"/pictures/image/".$row['Picture']['id']."\"
width=\"".$newwidth."\" height=\"".$newheight."\"/>"; ?></td>
</tr>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to