Bueno asi muestro mis datos sacados de una BD, por si alguien pergunta:
Código PHP:
<table border="0" width="100%" cellspacing="0" cellpadding="0" align="center">
<tbody>
<tr>
<td align="center" valign="top" width="450" height="300">
<br><br>
<div id="galleria">
<?php
do
{
?>
<a href="<?PHP echo $rowimagen['ruta'].$rowimagen['imagen']; ?>"><img src="<?PHP echo $rowimagen['ruta'].$rowimagen['imagen']; ?>"></a>
<?php
}
while ($rowimagen = mysql_fetch_assoc($imagenq));
?>
</div>
<!--<ul id="galleria">
<?php
do
{
?>
<li><a href="#"><img src="<?PHP echo $rowimagen['ruta'].$rowimagen['imagen']; ?>"></a><span>Ejemplo de Foto</span></li>
<?php
}
while ($rowimagen = mysql_fetch_assoc($imagenq));
?>
</ul>-->
<br>
<span class="referencia">* Imagen(es) Referencial(es)</span>
<script>
// Load the classic theme
Galleria.loadTheme('galeria/galleria.classic.min.js');
// Initialize Galleria
$('#galleria').galleria();
</script>
</td>
<td valign="top">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<?php
$producto=$row_Producto['ID'];
$producto=base64_encode($producto);
$url="?page=DetallesProductos&productoid=$producto";
?>
<td class="Articulo" height="60"><b><?php echo $row_Producto['producto']; ?></b></td>
</tr>
<tr>
<td class="DesArt"><br><b>Marca:</b> <?php echo $row_Producto['marca']; ?><br></td>
</tr>
<tr>
<td class="DesArt"><br><b>Modelo:</b> <?php echo $row_Producto['modelo']; ?><br></td>
</tr>
<tr>
<td class="DesArt"><br><b>Peso:</b> <?php echo $row_Producto['peso']; ?><br></td>
</tr>
<tr>
<td class="DesArt"><br><b>Dimensiones:</b> <?php echo $row_Producto['dimensiones']; ?><br></td>
</tr>
<tr>
<td class="DesArt"><br><b>Disponibilidad:</b> <?php echo $row_Producto['refe']; ?><br></td>
</tr>
<tr>
<td class="">----------------</td>
</tr>
<tr>
<td class="DesArt"><b>Caracteristicas:</b><br> <?php echo nl2br($row_Producto['caracteristicas']); ?><br><br><br></td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
el DIV es la galeria de imagenes...