Better thumbs loading, now with browser caching

This commit is contained in:
Patrick Speiser
2012-09-29 10:53:38 +02:00
parent 1681e30b62
commit 0ba49dc1fc
2 changed files with 35 additions and 2 deletions

View File

@@ -46,7 +46,7 @@
"aTargets": [ 0 ],
"mData":"ArtistID",
"mRender": function ( data, type, full ) {
return '<div id="artistImg"><img class="albumArt" alt="" id="'+ data + '"/></div>';
return '<div id="artistImg"><img class="albumArt" alt="" id="'+ data + '" src="/thumbs/artist/' + data + '"/></div>';
}
},
{"aTargets":[1],"mDataProp":"ArtistSortName"},
@@ -73,7 +73,6 @@
},
"fnInitComplete": function(oSettings, json)
{
getArtistArt();
}});