Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Movie Posters in Detail view blurry #10020

Open
2 tasks done
JBou opened this issue May 13, 2024 · 3 comments
Open
2 tasks done

Movie Posters in Detail view blurry #10020

JBou opened this issue May 13, 2024 · 3 comments
Labels
Area: UI Issue is related to UI, should also add the issue to the new UI project, if it isn't a bug. Status: Confirmed Stops stale bot from asking if stale Type: Bug Issue is a bug

Comments

@JBou
Copy link
Contributor

JBou commented May 13, 2024

Is there an existing issue for this?

  • I have searched the existing open and closed issues

Current Behavior

The movie Posters on the Movie Details Page are blurry, because the poster has a size of (height x width) 368px x 250px.

width: 250px;
height: 368px;

But the fetched image has only a height of 250px (and therefore a width of 167px)

function getUrl(image, coverType, size) {
const imageUrl = image?.url ?? image?.remoteUrl;
if (imageUrl) {
return imageUrl.replace(`${coverType}.jpg`, `${coverType}-${size}.jpg`);
}
}

The size (height) is set here:


And the default height is set here:
MoviePoster.defaultProps = {
...MovieImage.defaultProps,
size: 250
};

Expected Behavior

The poster should not be blurry and should be fetched in this case by the URL: https://radarr.com/MediaCover/XXXX/poster-368.jpg
I think for this height there exists no thumbnail, so currently it returns the full size poster.

Steps To Reproduce

  1. Open a Movie in Detail View
  2. See that the image is blurry
  3. Inspect the HTML of the page, the size of the Poster is H: 368px x W: 250px
  4. Check the URL of the poster, it contains 250
  5. Check the size of the poster image, it is H: 167px x W: 250px

Environment

- OS: Unraid
- Radarr: 5.4.6.8723-ls217 by linuxserver.io
- Docker Install: Yes
- Using Reverse Proxy: Yes
- Browser: Chrome
- Database: Sqlite 3.44.2

What branch are you running?

Master

Trace Logs? Not Optional

No trace logs for this issue, just a frontend problem

Trace Logs have been provided as applicable. Reports will be closed if the required logs are not provided.

  • I have read and followed the steps in the wiki link above and provided the required trace logs - the logs contain trace - that are relevant and show this issue.
@JBou JBou added Status: Needs Triage New Issue needing triage Type: Bug Issue is a bug labels May 13, 2024
@bakerboy448 bakerboy448 added the Area: UI Issue is related to UI, should also add the issue to the new UI project, if it isn't a bug. label May 13, 2024
@mynameisbogdan
Copy link
Collaborator

Can you show a screenshot?

@mynameisbogdan mynameisbogdan added Status: Confirmed Stops stale bot from asking if stale and removed Status: Needs Triage New Issue needing triage labels May 13, 2024
@JBou
Copy link
Contributor Author

JBou commented May 13, 2024

image
image
image

@mynameisbogdan
Copy link
Collaborator

Right, it should be 500 here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: UI Issue is related to UI, should also add the issue to the new UI project, if it isn't a bug. Status: Confirmed Stops stale bot from asking if stale Type: Bug Issue is a bug
Projects
None yet
Development

No branches or pull requests

3 participants