• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support General Questions Item backdrop image after update gone

     
    • 0 Vote(s) - 0 Average

    Item backdrop image after update gone

    JayJayZ
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Sep
    Reputation: 0
    Country:Poland
    #3
    2024-09-04, 04:34 PM
    (2024-09-04, 12:04 PM)Ted Hinklater Wrote: This is a custom theme right? By default, if you click your user picture in Jellyfin, go to Settings > Display and enable Backdrops, it should display. Also clear your cache or Ctrl+F5 to hard reload the page, to be sure.

    Yes it's a custom theme. Backdrops are enabled in the settings and clearing the cache was the first thing I did after the update.
    file generating the details page for items "itemDetails.[xxx].chunk.js" differs in the section responsible for the tag
    Code:
    id="itemBackdrop"

    old file itemDetails.[xxx].chunk.js:

    Code:
    ...
    var i, n = e.querySelector("#itemBackdrop");
                            t.BackdropImageTags && t.BackdropImageTags.length ? (i = r.getScaledImageUrl(t.Id, {
                                type: "Backdrop",
                                maxWidth: I.ZP.getScreenWidth(),
                                index: 0,
                                tag: t.BackdropImageTags[0]
                            }), b.default.lazyImage(n, i)) : t.ParentBackdropItemId && t.ParentBackdropImageTags && t.ParentBackdropImageTags.length ? (i = r.getScaledImageUrl(t.ParentBackdropItemId, {
                                type: "Backdrop",
                                maxWidth: I.ZP.getScreenWidth(),
                                index: 0,
                                tag: t.ParentBackdropImageTags[0]
                            }), b.default.lazyImage(n, i)) : t.ImageTags && t.ImageTags.Primary ? (i = r.getScaledImageUrl(t.Id, {
                                type: "Primary",
                                maxWidth: I.ZP.getScreenWidth(),
                                tag: t.ImageTags.Primary
                            }), b.default.lazyImage(n, i)) : n.style.backgroundImage = ""
    ...

    new file:

    Code:
    ...
                            var i = e.querySelector("#itemBackdrop"),
                                n = (0, U.I)(r, t, {
                                    maxWidth: D.Ay.getScreenWidth()
                                }, !1);
                            n ? S.default.lazyImage(i, n) : i.style.backgroundImage = ""

    ...


    maybe it's just a bug in the new version?
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Item backdrop image after update gone - by JayJayZ - 2024-09-04, 08:39 AM
    RE: Item backdrop image after update gone - by Ted Hinklater - 2024-09-04, 12:04 PM
    RE: Item backdrop image after update gone - by JayJayZ - 2024-09-04, 04:34 PM
    RE: Item backdrop image after update gone - by Efficient_Good_5784 - 2024-09-04, 04:59 PM
    RE: Item backdrop image after update gone - by JayJayZ - 2024-09-04, 05:23 PM
    RE: Item backdrop image after update gone - by Efficient_Good_5784 - 2024-09-04, 05:34 PM
    RE: Item backdrop image after update gone - by JayJayZ - 2024-09-05, 07:30 AM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode