1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

fixes #607 - Add manual image selection for episodes

This commit is contained in:
Luke Pulverenti 2013-11-01 11:55:25 -04:00
parent 08b0e1d5e7
commit bc8a94b755

View file

@ -123,7 +123,7 @@
options.ProviderName = provider;
Dashboard.showLoadingMsg();
ApiClient.downloadRemoteImage(options).done(function () {
$('#popupDownload', page).popup("close");
@ -149,7 +149,7 @@
cssClass += " remoteDiscImage";
}
else {
cssClass += " remotePosterImage";
cssClass += currentItem.Type == "Episode" ? " remoteBackdropImage" : " remotePosterImage";
}
html += '<a target="_blank" href="' + image.Url + '" class="' + cssClass + '" style="background-image:url(\'' + image.Url + '\');">';
@ -162,7 +162,7 @@
if (image.Width || image.Height) {
html += '<div class="remoteImageDetails">';
html += image.Width + 'x' + image.Height;
html += image.Width + ' x ' + image.Height;
if (image.Language) {
@ -500,7 +500,7 @@
};
self.showDownloadMenu = function(type) {
self.showDownloadMenu = function (type) {
browsableImageType = type;
$('.lnkBrowseImages').trigger('click');
};