[gatsby-transformer-sharp] Remove the default width value from gatsby-transformer-sharp #7663
Labels
help wanted
Issue with a clear description that the community can help with.
type: maintenance
An issue or pull request describing a change that isn't a bug, feature or documentation change
Summary
In this commit (which was released in gatsby 2.0.0-rc.0) the requirement of a width value was removed. I believe this should make it possible to set a height, and make sharp calculate the width of the image. The problem is that
gatsby-transformer-sharp
still has the default values set, so using those methods in a query still results in the width being set to 400 (the default).It would be awesome if gatsby-transformer-sharp was also updated with these changes.
Motivation
I'm trying to create a portfolio website with an image grid which needs all images to be of the same height and width being variable, but as far as I know this is not yet possible with the current implementation.
The text was updated successfully, but these errors were encountered: