Ver Mensaje Individual
  #4 (permalink)  
Antiguo 08/07/2010, 15:48
Avatar de mayid
mayid
Colaborador
 
Fecha de Ingreso: marzo-2009
Ubicación: BsAs
Mensajes: 4.014
Antigüedad: 15 años, 1 mes
Puntos: 101
Respuesta: $(this).attr("src") me devuelve enlaces locales

Lo probaste con imagenes externas? Este sería mi script completo, que no funcionaba:
Cita:
<img src="http://www.artofillusion.com.ar/img_al_foro/ejemplos/esfera4.jpg" alt="" />

$("img").each(function(i){

IMGsrc = $(this).attr("src");
alert(IMGsrc);

})
Y mirá que también probé en firefox y era lo mismo. Ponía mi servidor local+el nombre de la imagen, cosa que no existía.