Shokofin icon indicating copy to clipboard operation
Shokofin copied to clipboard

Cast/Guest Cast images are not displayed

Open sannidhyaroy opened this issue 6 months ago • 5 comments

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".

sannidhyaroy avatar Jul 31 '24 22:07 sannidhyaroy