added screenshot images

This commit is contained in:
Luke Pulverenti 2013-04-15 18:13:55 -04:00
parent 58e5eea325
commit d87dd85f1f

View File

@ -163,6 +163,7 @@
var imageTags = item.ImageTags || {};
var html = '';
var i, length;
if (imageTags.Logo) {
@ -193,12 +194,19 @@
if (item.BackdropImageTags) {
for (var i = 0, length = item.BackdropImageTags.length; i < length; i++) {
for (i = 0, length = item.BackdropImageTags.length; i < length; i++) {
html += createGalleryImage(item.Id, "Backdrop", item.BackdropImageTags[0], i);
}
}
if (item.ScreenshotImageTags) {
for (i = 0, length = item.ScreenshotImageTags.length; i < length; i++) {
html += createGalleryImage(item.Id, "Screenshot", item.ScreenshotImageTags[0], i);
}
}
$('#galleryContent', page).html(html).trigger('create');
}