jonnyfreak
02-22-2013, 01:32 PM
I have thumbnails that are using the Tom Muck horizontal looper.
however the uploader that i have used only scales the images from their orginal size so when the thumbs are displayed they are all different sizes, Is there a way that i can have them all the same size, i have used lightroom to display larger images as the gallery
here is what i have
<table>
<tr>
<?php
$rsCakesSelect_endRow = 0;
$rsCakesSelect_columns = 4; // number of columns
$rsCakesSelect_hloopRow1 = 0; // first row flag
do {
if($rsCakesSelect_endRow == 0 && $rsCakesSelect_hloopRow1++ != 0) echo "<tr>";
?>
<td valign="top">
<p><a href="images/uploads/cakes/<?php echo $row_rsCakesSelect['cakeImage']; ?>" rel="lightbox[<?php echo $row_rsCakesSelect['cakeCatID']; ?>]" title="<?php echo $row_rsCakesSelect['cakeTitle']; ?>"><img src="images/uploads/cakes/thumbs/<?php echo $row_rsCakesSelect['cakeImage']; ?>"/></a></p></td>
<?php $rsCakesSelect_endRow++;
if($rsCakesSelect_endRow >= $rsCakesSelect_columns) {
?>
</tr>
<?php
$rsCakesSelect_endRow = 0;
}
} while ($row_rsCakesSelect = mysql_fetch_assoc($rsCakesSelect));
if($rsCakesSelect_endRow != 0) {
while ($rsCakesSelect_endRow < $rsCakesSelect_columns) {
echo("<td> </td>");
$rsCakesSelect_endRow++;
}
echo("</tr>");
}?>
</table>
thanks in advance
however the uploader that i have used only scales the images from their orginal size so when the thumbs are displayed they are all different sizes, Is there a way that i can have them all the same size, i have used lightroom to display larger images as the gallery
here is what i have
<table>
<tr>
<?php
$rsCakesSelect_endRow = 0;
$rsCakesSelect_columns = 4; // number of columns
$rsCakesSelect_hloopRow1 = 0; // first row flag
do {
if($rsCakesSelect_endRow == 0 && $rsCakesSelect_hloopRow1++ != 0) echo "<tr>";
?>
<td valign="top">
<p><a href="images/uploads/cakes/<?php echo $row_rsCakesSelect['cakeImage']; ?>" rel="lightbox[<?php echo $row_rsCakesSelect['cakeCatID']; ?>]" title="<?php echo $row_rsCakesSelect['cakeTitle']; ?>"><img src="images/uploads/cakes/thumbs/<?php echo $row_rsCakesSelect['cakeImage']; ?>"/></a></p></td>
<?php $rsCakesSelect_endRow++;
if($rsCakesSelect_endRow >= $rsCakesSelect_columns) {
?>
</tr>
<?php
$rsCakesSelect_endRow = 0;
}
} while ($row_rsCakesSelect = mysql_fetch_assoc($rsCakesSelect));
if($rsCakesSelect_endRow != 0) {
while ($rsCakesSelect_endRow < $rsCakesSelect_columns) {
echo("<td> </td>");
$rsCakesSelect_endRow++;
}
echo("</tr>");
}?>
</table>
thanks in advance