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

Fix the Incorrect Image Size bug #724

Merged
merged 2 commits into from
Feb 17, 2024

Conversation

JackDawson94
Copy link
Contributor

@JackDawson94 JackDawson94 commented Oct 23, 2023

Fixes a bug in my previous version of the Image dimensions display.
Bug was caused because the image dimension was gathered in frontend based on the image that was displayed. But that didn't work with the CDN.

So I fixed it by looking at the data returned by the GraphQL query, which required a few type changes because width/height were not kept for newly uploaded images.

Fixes: #724

@JackDawson94 JackDawson94 changed the title Fix the bug Fix the Incorrect Image Size bug Oct 23, 2023
@InfiniteStash InfiniteStash merged commit 85e8914 into stashapp:master Feb 17, 2024
2 checks passed
@InfiniteStash InfiniteStash linked an issue Feb 20, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug Report] Listing Incorrect Image Sizes
2 participants