thumbnail used as temporary background while loading main image

This commit is contained in:
ville rantanen
2012-11-09 10:27:33 +02:00
parent c39092854c
commit 513650c663
2 changed files with 3 additions and 0 deletions

View File

@@ -1000,6 +1000,7 @@ function showbigimage(i) {
$('#imagesingle').css('width','auto');
$('#imagesingle').css('height',height);
}
$('#imagesingle').css('background-image','url("_tn/tn_'+encodeURIComponent(imagelist[i])+'.jpg")');
}
$('#imagecontainer').css('height',height);