Bueno es simple la pregunta
en este sitio hay un tuto de un visor de imagenes
http://www.disegnocentell.com.ar/notas2.php?id=99
Aca la vista previa del ejemplo funcionando
http://disegnocentell.com.ar/new/eje...sordefotos.htm
Aca el codigo
Código PHP:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Visor de Fotos</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script>
var directorio="";
var indice=0;
var miarray=new Array("img01.jpg","img02.jpg","img03.jpg");
var miarray_txt=new Array("detalle imagen uno","detalle imagen dos","detalle imagen tres");
function precarga(){
for(i=0;i<miarray.length;i++){
eval("imagen"+i+"=new Image();");
eval("imagen"+i+".src=" + "\"" +directorio+miarray[i]+"\";");
}
}
function cambia(como){
if(como=='menos'){
indice--;}else{indice++;}
if (indice < 0) indice = miarray.length - 1;
if (indice > miarray.length-1) indice = 0;
document.getElementById("cama").src=directorio+miarray[indice];
document.getElementById('leyenda').firstChild.nodeValue = (indice+1) + " de " + miarray.length;
document.getElementById('epi').innerHTML=miarray_txt[indice];
}
</script>
</head>
<body>
<div align="left" style="width:200px;"><a href="javascript:cambia('menos')"><img src="atras_galeria.jpg" width="17" height="17" border="0" align="absbottom"></a><strong><div id="leyenda" style="display:inline; color:#FF8000;font-family:Verdana, Arial, Sans-Serif;font-size:8pt;font-weight:bold;margin:4px;padding:4px;text-align:center">1 de 3</div></strong><a href="javascript:cambia('mas')"><img src="adelante_galeria.jpg" width="17" height="17" border="0" align="absbottom"></a></div><br>
>precarga();</script>
<img src="img01.jpg" id="cama" name="cama"><br><br>
<div id="epi" style="color:#999999;font-family:Verdana, Arial, Sans-Serif;font-size:9px;font-weight:normal;text-align:left">detalle imagen uno</div>
</body>
</html>
Ahora mi pregunta...
Este visor de imagenes solo muestras las imagenes thumb-....
yo quiero mostrar las imagenes thumb como bien lo hace aqui pero quiero mostrar tambien un enlace a la imagen full lo cual no hace...
alguien me dice como puedo hacer para que este visor no solo muestre la imagen thumb sino que tambien muestre la imagen full?