Inaczej - kidey otwieram strone na swoim komputerze, zdjecia laduja sie bez problemow, ale po przeniesieniu niektore nie laduja sie wcale, a inne sa strasznie zmasakrowane. Przyklad -> www.eurydicesite.info/error.jpg
Kod, ktorym laduje zdjecia to:
$.fn.image = function(src, f){ return this.each(function(){ var i = new Image(); i.src = src; i.onload = f; this.appendChild(i); }); } function replaceImage(imgName, container) { $j(container).hide(); //so it fades out once the image has loaded $j(container).image(imgName, function() { //this is a simple plugin, i'll paste it's code below if(container != "#galImage") { //if it's a thumbnail, i want to be able to click on it } else { //it's not a thumbnail, so no "a" wrapper $j(container).empty().append(this); } $j(container).fadeIn(); //finally, show the image }); }
W innym miejscu wywoluje ten kod np. tak: replaceImage('images/' + imgName, 'imgCont' + i); //i to iterator petli
Nie rozumiem juz kompletnie o co chodzi. Strona (nie dzialajaca) jest na www.eurydicesite.info. Po wejsciu do portfolio, powinno sie pokazac 9 zdjec thumbnail...