Shokofin: Cast/Guest Cast images are not displayed

Screenshot 2024-08-01 at 4 09 34 AM Screenshot 2024-08-01 at 4 02 20 AM

Usually, cast images are not shown (left screenshot), and instead just a transparent image (if no image is set, Jellyfin shows a placeholder image, which isn’t the case here) is placed. This is often the case, but not always as sometimes (although rare), cast images do show up, like in the right screenshot.

This is the HTML content for the anchor tag that contains a valid cast image:

<a
  href="#/details?id=00686a421b09ba6b5154dcbc5b12bf17&amp;serverId=undefined"
  data-action="link"
  class="cardImageContainer coveredImage cardContent itemAction lazy non-blurhashable lazy-image-fadein-fast"
  aria-label="Mao"
  style='background-image: url("https://jellyfin.home/Items/00686a421b09ba6b5154dcbc5b12bf17/Images/Primary?fillHeight=669&amp;fillWidth=446&amp;quality=96&amp;tag=924f17657c5bcd2f0437774ba54d3a5c");'
></a>;

whereas, this is the HTML content for the anchor tag with the transparent image:

<a
  href="#/details?id=35698f11326c1e55fbde533d90806b70&amp;serverId=undefined"
  data-action="link"
  class="cardImageContainer coveredImage cardContent itemAction lazy non-blurhashable lazy-hidden"
  data-src="https://jellyfin.home/Items/35698f11326c1e55fbde533d90806b70/Images/Primary?fillHeight=669&amp;fillWidth=446&amp;quality=96&amp;tag=c8b7c3266fe1a187d3cd0d3bc6478d69"
  aria-label="Furukawa Makoto"
></a>;

Furthermore, navigating to the url inside the background-image property in the former HTML content takes to a valid Jellyfin page with the image, whereas navigating to the url inside data-src in the latter HTML content just shows “Error processing request”.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 27 (13 by maintainers)

Commits related to this issue

Most upvoted comments

Cast images are stored. Crew images aren’t stored.

Cast = Voice Actors

Crew = Production Staff

@sannidhyaroy should I take the lack of a comment as the commit fixed the issue?

Sorry, took some time to throughly test. Yes, this commit fixed the issue. It needs a fresh library, so you have to delete and re-add your library for Shokofin to properly display the crew images.

Btw just curious, if crew images aren’t stored in Shoko Server, how does the Shoko Web UI display crew images and people images in the Credits section? Does it just display a remote image from AniDB/TMDB/TVDB directly without storing it?