
06/05/2003, 15:19
|
 | | | Fecha de Ingreso: noviembre-2001 Ubicación: Marbella
Mensajes: 223
Antigüedad: 23 años, 5 meses Puntos: 0 | |
Hola Maestro, ya había probado todo lo que me dices, pero nada. Sigue sin salir la dichosa imagen.
Te pongo el código para ver si alguien puede ver el fallo:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="CP_ACP"%>
<HTML>
<HEAD>
<TITLE>algo</TITLE>
<LINK href="img/css/css.css" rel=stylesheet type=text/css>
</HEAD>
<BODY>
<table width="438" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="438" height="40"> <span class=foto_pie>
<h1>
<div align="center">algo</div>
</h1>
</span></td>
</tr>
<tr>
<td height="61"><div align="center">
<span class=foto_pie> </span></div></td>
</tr>
<tr>
<td height="121"><span class=foto_pie>
<%
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open "DSN=dns"
sSQL="SELECT * FROM talba;" 'Order By nombre
set RS = Conn.Execute(sSQL)
%>
<table width="100%" align="center" class=foto_pie>
<tr bgcolor="#999999">
<th>Foto</th>
<th>1</th>
<th>2</th>
<th>3</th>
<th>4</th>
<th>5</th>
<th>6</th>
</tr>
<%
Do While Not RS.Eof
%>
<tr>
<td bgcolor="#EBEBEB"><%=RS("Foto1")%><img src=db/<%=RS("Foto1")%>" width="70" height="60" alt="Error"></td>
<td bgcolor="#EBEBEB"><%=RS("1")%></td>
<td bgcolor="#EBEBEB"><%=RS("2")%></td>
<td bgcolor="#EBEBEB"><%=RS("3")%></td>
<td bgcolor="#EBEBEB"><%=RS("4")%></td>
<td bgcolor="#EBEBEB"><%=RS("5")%></td>
<td bgcolor="#EBEBEB"><%=RS("6")%></td>
</tr>
<%
RS.MoveNext
Loop
Conn.Close
%>
<td bgcolor="#EBEBEB"><img src="db/77342258368_1361_San Pedro Buena Vista 012.jpg" width="70" height="60" alt="Hecho sin db"></td>
</table>
</span></td>
</tr>
</table>
</BODY>
</HTML>
La cosa es que si pongola ruta en el <img> a "dedo", la imagen se ve. Pero si lo saco de la mdb, no me sale. Y la cosa es que si miro el código fuente que genera el el archivo desde el navegador la ruta en el <img> , es la correcta.
Alguien puede ayudarme por favor, ya no se que más le puedo hacer, he probado mil cosasy nada.
Muchas gracias de ante mano. |