Skip to content

Conversation

samglt
Copy link
Contributor

@samglt samglt commented Jul 15, 2025

Part of #1503's task replacing uses of UIScreen bounds.

The overall appearance is not significantly changed for either backdrop or poster images, and this incidentally fixes backdrop images being too low res and poster images extending too far down and obscuring the genre/year text.

Before & After (Backdrop)
Before & After (Poster)

@JPKribs JPKribs added enhancement New feature or request developer Improves or alters the developer experience labels Jul 15, 2025
@samglt
Copy link
Contributor Author

samglt commented Jul 15, 2025

Looking again, this isn't quite right. The images are actually oversized because the GeometryReader proxy initially has zero size so the imageSource gets requested with a zero (unlimited) maxWidth.

@samglt
Copy link
Contributor Author

samglt commented Jul 16, 2025

Now it only gets the imageSource when the GeometryReader's size is known, so the resolution is appropriate to the screen, and will be correct for both backdrop and poster images.

I've also realized that the height multiplier should be 0.8 to get the exact same appearance as before, but I think both the backdrop and poster tend to look better at 0.6

Copy link
Member

@LePips LePips left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking a look at this. Having a static image size as I comment on iPadOS isn't much of a concern here since this is iOS. Also, taking a look at all of this again after so long makes me realize I may just combine what is currently the compact logo and cinematic views into a single view, and the user can then either make the image "larger" (what is currently cinematic), and still hide the logo. There, we would have a static size and I anticipate it would happen prior to the next release, so I'm okay with what this is for now.

@LePips LePips merged commit 6446be9 into jellyfin:main Jul 17, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
developer Improves or alters the developer experience enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants