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(gatsby-plugin-sharp): presentation sizes #23905

Merged
merged 12 commits into from
May 19, 2020

Conversation

wardpeet
Copy link
Contributor

@wardpeet wardpeet commented May 8, 2020

Description

According to our latest changes to gatsby-plugin-sharp, it seems that presentationWidth & presentationHeight aren't calculated correctly when both maxWidth & maxHeight are given. From now on, we read the width & height out of the resulted image instead of calculating it ourselves.

Related Issues

#17006 (comment)

@wardpeet wardpeet requested a review from a team as a code owner May 8, 2020 12:37
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label May 8, 2020
@pvdz pvdz added status: needs core review Currently awaiting review from Core team member and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer status: needs core review Currently awaiting review from Core team member labels May 8, 2020
@netlify
Copy link

netlify bot commented May 11, 2020

Deploy request for suspicious-hermann-8c5e26 pending review.

Review with commit 9b6cc2d

https://app.netlify.com/sites/suspicious-hermann-8c5e26/deploys

@pieh pieh added the topic: media Related to gatsby-plugin-image, or general image/media processing topics label May 12, 2020
@wardpeet
Copy link
Contributor Author

Finally green 😂

Copy link
Contributor

@pieh pieh left a comment

Choose a reason for hiding this comment

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

Uff we got there :) Let's get this in (after another run of tests after merging master finish)

@wardpeet wardpeet merged commit 900e6e8 into gatsbyjs:master May 19, 2020
@wardpeet wardpeet deleted the fix/image-presentation branch May 19, 2020 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: media Related to gatsby-plugin-image, or general image/media processing topics
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants