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:
parent
08b0e1d5e7
commit
bc8a94b755
1 changed files with 4 additions and 4 deletions
|
@ -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');
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue