Ver Mensaje Individual
  #2 (permalink)  
Antiguo 13/05/2012, 16:26
Avatar de enlinea777
enlinea777
 
Fecha de Ingreso: mayo-2008
Ubicación: frente al pc
Mensajes: 1.830
Antigüedad: 16 años
Puntos: 127
Respuesta: Galeria de imágenes con thumbnail en php

echa un vistazo a este plugin
http://www.no-margin-for-errors.com/...ightbox-clone/

si quieres simplemente mostrar la imagen prueba con esto:

Código PHP:
<?php 
include("cn.php");
$t=mysql_query("select *from noticias order by COD_NOT desc limit $inicio,5"$cn);
while(
$rows=mysql_fetch_array($t)){
echo 
"<tr>";
echo 
"<td>$rows[1]</td>";
echo 
"<td>$rows[2]</td>";
echo 
"<td><a href='$rows[IMG1]'><img src='$rows[IMG1]' width='80' height='91'></a></td>";
echo 
"<td><a href='$rows[IMG2]'><img src='$rows[IMG2]' width='80' height='91'></a></td>";
echo 
"<td><a href='$rows[IMG3]'><img src='$rows[IMG3]' width='80' height='91'></a></td>";

echo 
"<td><a href='Modificar_E.php?id=$rows[0]'>Editar</a>-<a href='eliminar_noticia.php?id=$rows[0]'>Eliminar</a></td>";
echo 
"</tr>";
}
mysql_free_result($t);
mysql_close($cn);
?>