Ver Mensaje Individual
  #1 (permalink)  
Antiguo 12/05/2012, 10:27
Avatar de frankjoel86
frankjoel86
 
Fecha de Ingreso: noviembre-2008
Ubicación: Ica
Mensajes: 295
Antigüedad: 15 años, 6 meses
Puntos: 0
Galeria de imágenes con thumbnail en php

Saludos people, tengo la siguiente duda. se agradece cualquier apoyo.
luego de insertar la ruta de imágenes en una tabla y copiar las img a una carpeta.
al momento de mostrarlas como hago para que cuando se le haga clic a la imagen aparezca mas grande.

<?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><img src='$rows[IMG1]' width='80' height='91'></td>";
echo "<td><img src='$rows[IMG2]' width='80' height='91'></td>";
echo "<td><img src='$rows[IMG3]' width='80' height='91'></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);
?>

*Se agradece cualquier apoyo.
__________________
www.basritours.com
Agencia de turismo en Ica.