mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fixes #903 - Display image info on web client detail page
This commit is contained in:
parent
046e584924
commit
b74ed62a1c
6 changed files with 133 additions and 89 deletions
|
@ -2067,7 +2067,7 @@
|
|||
var miscInfo = [];
|
||||
var text, date;
|
||||
|
||||
if (item.Type == "Episode") {
|
||||
if (item.Type == "Episode" || item.MediaType == 'Photo') {
|
||||
|
||||
if (item.PremiereDate) {
|
||||
|
||||
|
@ -2131,7 +2131,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
if (item.Type != "Series" && item.Type != "Episode") {
|
||||
if (item.Type != "Series" && item.Type != "Episode" && item.MediaType != 'Photo') {
|
||||
|
||||
if (item.ProductionYear) {
|
||||
|
||||
|
@ -2174,6 +2174,10 @@
|
|||
miscInfo.push("3D");
|
||||
}
|
||||
|
||||
if (item.MediaType == 'Photo' && item.Width && item.Height) {
|
||||
miscInfo.push(item.Width + "x" + item.Height);
|
||||
}
|
||||
|
||||
return miscInfo.join(' ');
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue